<config:plugin/>
Plugin allows a class to be registered with the XML configuration
system. Once a plugin has been registered, the element can then
be used to create and configure objects of that class.
-
Implemented by:
-
thinkmap.xmlconfig.tags.Plugin
Simple Attributes
| builderClass |
| description: |
Set the class that will be used to build this plugin. Classes must inherit
from thinkmap.xmlconfig.IBuilder
|
| type: |
Class
|
| required: |
No
|
|
| class |
| description: |
Set the name of the class to register.
|
| type: |
String
|
| required: |
Yes
|
|
| element |
| description: |
Set the xml element name the class should be regsitered under.
|
| type: |
String
|
| required: |
Yes
|
|
| lazy |
| description: |
Set to true if you would like this plugin to load upon its first use.
|
| type: |
boolean
|
| required: |
No
|
|
| default: |
False
|
| namespace |
| description: |
Set the namespace of the element this plugin creates. If the plugin is specified
within a <config:namespace> the containing namespace
is used. Otherwise, the namespace is the current default namespace as
defined by the parent tags of this tag.
|
| type: |
String
|
| required: |
No
|
|
| URL |
| description: |
Set the URL of the XMLComponent to register. If you use this attribute,
the class attribute is not required.
|
| type: |
java.net.URL
|
| required: |
No
|
|