XML::XMetaL is a Perl module with dispatch class for XML::XMetaL development framework. The XML::XMetaL class is a dispatcher for XM
XML::XMetaL is a Perl module with dispatch class for XML::XMetaL development framework.
The XML::XMetaL class is a dispatcher for XMetaL customization handlers. XML:XMetaL objects are singletons. There can be only one XML::XMetaL object instantiated at any one time.
If an XML::XMetaL object already exists, the constructor (new) will just return the already existing object.
Customization handlers are registered and associated with a system identifier with the add_handler method.
When a method is called on a dispatcher (XML::XMetaL object), the dispatcher figures out which handler that should handle the call, and forwards the method call to the handler.
For example, calling On_Document_Save on the dispatcher, will make the dispatcher call the On_Document_Save method for the handler associated with the system identifier of the currently active document.
When the dispatcher calls a handler, the call is wrapped in an eval block. If an exception is thrown by the handler, it will be caught by the dispatcher and the error message will be shown in an XMetaL Alert box.
tags xml xmetal the dispatcher the handler xmetal object the call document save system identifier customization handlers associated with with the
Download XML::XMetaL 0.52
Other software in this category
- Desktop Environment
- Science and Engineering
- Text Editing&Processing