org.merlotxml.merlot.plugin.dtd
Class DTDPluginConfig
java.lang.Object
org.merlotxml.merlot.plugin.PluginConfig
org.merlotxml.merlot.plugin.dtd.DTDPluginConfig
- public class DTDPluginConfig
- extends PluginConfig
Merlot DTD Plugin Configuration
- Author:
- Tim McCune
Fields inherited from class org.merlotxml.merlot.plugin.PluginConfig |
author, classLoader, longName, name, source, url, version, XPATH_AUTHOR, XPATH_DEPENDENCIES, XPATH_LONG_NAME, XPATH_NAME, XPATH_PLUGIN, XPATH_TEXT, XPATH_URL, XPATH_VERSION |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ICON_SIZE_LARGE
public static final int ICON_SIZE_LARGE
- See Also:
- Constant Field Values
ICON_SIZE_SMALL
public static final int ICON_SIZE_SMALL
- See Also:
- Constant Field Values
XPATH_DEFAULT_EDITOR
protected static final java.lang.String XPATH_DEFAULT_EDITOR
- See Also:
- Constant Field Values
XPATH_DTD
protected static final java.lang.String XPATH_DTD
- See Also:
- Constant Field Values
XPATH_EDITOR
protected static final java.lang.String XPATH_EDITOR
- See Also:
- Constant Field Values
XPATH_ICON
protected static final java.lang.String XPATH_ICON
- See Also:
- Constant Field Values
XPATH_TREE
protected static final java.lang.String XPATH_TREE
- See Also:
- Constant Field Values
_defaultEditorConfig
protected org.merlotxml.merlot.plugin.dtd.DefaultEditorConfig _defaultEditorConfig
_dtdConfigs
protected java.util.List _dtdConfigs
_editorConfigs
protected java.util.List _editorConfigs
_iconConfigs
protected java.util.List _iconConfigs
_treeTableConfig
protected TreeTableConfig _treeTableConfig
_displayTextConfig
protected DisplayTextConfig _displayTextConfig
iconMap
protected java.util.Map iconMap
DTDPluginConfig
public DTDPluginConfig(PluginManager manager,
java.lang.ClassLoader loader,
java.io.File source)
parse
public void parse(org.w3c.dom.Node node)
throws PluginConfigException
- Description copied from class:
PluginConfig
- Parse the default elements common to all plugins.
- Overrides:
parse
in class PluginConfig
- Throws:
PluginConfigException
- Thrown if there was a problem
loading a DTD or an Editor object
getDefaultEditorConfig
public org.merlotxml.merlot.plugin.dtd.DefaultEditorConfig getDefaultEditorConfig()
getEditorClassFor
public java.lang.Class getEditorClassFor(java.lang.String elementName)
getIconFor
public javax.swing.Icon getIconFor(java.lang.String elementName,
int size)
getTreeTableConfig
public TreeTableConfig getTreeTableConfig()
getDisplayTextConfig
public DisplayTextConfig getDisplayTextConfig()
toString
public java.lang.String toString()
- Overrides:
toString
in class PluginConfig