Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.merlotxml.merlot.plugin.dtd
Class DTDPluginConfig  view DTDPluginConfig download DTDPluginConfig.java

java.lang.Object
  extended byorg.merlotxml.merlot.plugin.PluginConfig
      extended byorg.merlotxml.merlot.plugin.dtd.DTDPluginConfig
Direct Known Subclasses:
GD_DTDPluginConfig

public class DTDPluginConfig
extends org.merlotxml.merlot.plugin.PluginConfig

Merlot DTD Plugin Configuration

Version:
$Id: DTDPluginConfig.java,v 1.2 2001/12/18 15:59:24 flament Exp $

Nested Class Summary
private  class DTDPluginConfig.IconMapKey
           
 
Nested classes inherited from class org.merlotxml.merlot.plugin.PluginConfig
 
Field Summary
protected  DefaultEditorConfig _defaultEditorConfig
           
protected  DisplayTextConfig _displayTextConfig
           
protected  java.util.List _dtdConfigs
           
protected  java.util.List _editorConfigs
           
protected  java.util.List _iconConfigs
           
protected  TreeTableConfig _treeTableConfig
           
static int ICON_SIZE_LARGE
           
static int ICON_SIZE_SMALL
           
protected  java.util.Map iconMap
           
protected static java.lang.String XPATH_DEFAULT_EDITOR
           
protected static java.lang.String XPATH_DTD
           
protected static java.lang.String XPATH_EDITOR
           
protected static java.lang.String XPATH_ICON
           
protected static java.lang.String XPATH_TREE
           
 
Fields inherited from class org.merlotxml.merlot.plugin.PluginConfig
_node, author, classLoader, longName, myPluginManager, name, source, url, version, XPATH_AUTHOR, XPATH_LONG_NAME, XPATH_NAME, XPATH_PLUGIN, XPATH_TEXT, XPATH_URL, XPATH_VERSION
 
Constructor Summary
DTDPluginConfig()
           
 
Method Summary
 DefaultEditorConfig getDefaultEditorConfig()
           
 DisplayTextConfig getDisplayTextConfig()
           
 java.lang.Class getEditorClassFor(java.lang.String elementName)
           
 javax.swing.Icon getIconFor(java.lang.String elementName, int size)
           
 TreeTableConfig getTreeTableConfig()
           
 void parse(org.w3c.dom.Node node)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class org.merlotxml.merlot.plugin.PluginConfig
getAboutAction, getClassLoader, getName, getNode, getSource, setClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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 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
Constructor Detail

DTDPluginConfig

public DTDPluginConfig()
Method Detail

parse

public void parse(org.w3c.dom.Node node)
           throws org.merlotxml.merlot.plugin.PluginConfigException

getDefaultEditorConfig

public 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()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).