All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xm.xm_NodeTypeDefn

java.lang.Object
   |
   +----xm.xm_NodeTypeDefn

public class xm_NodeTypeDefn
extends Object
The full definition of a particular type of XML node. It can be used for both 'built in' types and special types.


Variable Index

 o CustomizerClassName
Name of the class used for customizing (on-screen editing of) nodes of this type.
 o NodeClassName
Name of the class used to represent nodes of this type.
 o NodeName
The name of this type of node.
 o NodeType
The type of this node.
 o NodeTypeString
A string representation of the type of this node (for display purposes only).
 o ParserClassName
Name of the class used to parse nodes of this type.
 o ViewClassName
Name of the class used for displaying nodes of this type (in a JEditorPane).

Constructor Index

 o xm_NodeTypeDefn(String, int, String, String, String, String, String)
Construct a node type definition.

Method Index

 o getCustomizerClassName()
Get the name of the class used to customize nodes of this type.
 o getName()
Get the name of the node.
 o getNodeClassName()
Get the name of the class used to represent nodes of this type.
 o getParserClassName()
Get the name of the class used to parse nodes of this type.
 o getType()
Get the node type.
 o getTypeString()
Get the string representation of the type of the node type.
 o getViewClassName()
Get the name of the class used to display nodes of this type.
 o listToDebug()
Output this node type definition to debug.
 o setCustomizerClassName(String)
Set the name of the class used to customize nodes of this type.
 o setName(String)
Set the name of this node.
 o setNodeClassName(String)
Set the name of the class used to represent nodes of this type.
 o setParserClassName(String)
Set the name of the class used to parse nodes of this type.
 o setType(int)
Set the node type.
 o setTypeString(String)
Set the string representation of this node type.
 o setViewClassName(String)
Set the name of the class used to display nodes of this type.
 o toString()
Return a string representation of this node type definition - mainly to be used for debug purposes.

Variables

 o NodeName
 protected String NodeName
The name of this type of node. For elements, this can be used for the element name.

 o NodeType
 protected int NodeType
The type of this node. Only the fixed, pre-defined XML types should be used here.

 o NodeTypeString
 protected String NodeTypeString
A string representation of the type of this node (for display purposes only).

 o NodeClassName
 protected String NodeClassName
Name of the class used to represent nodes of this type.

 o ParserClassName
 protected String ParserClassName
Name of the class used to parse nodes of this type.

 o CustomizerClassName
 protected String CustomizerClassName
Name of the class used for customizing (on-screen editing of) nodes of this type.

 o ViewClassName
 protected String ViewClassName
Name of the class used for displaying nodes of this type (in a JEditorPane). Classes named here must be derived from swing.text.View.

Constructors

 o xm_NodeTypeDefn
 public xm_NodeTypeDefn(String InputNodeName,
                        int InputNodeType,
                        String InputNodeTypeString,
                        String InputNodeClassName,
                        String InputParserClassName,
                        String InputCustomizerClassName,
                        String InputViewClassName)
Construct a node type definition.

Parameters:
InputNodeName - The name of this node type
InputNodeType - Type of the node
InputNodeTypeString - String representation of the node type
InputNodeClassName - Name of the class used to represent nodes of this type
InputParserClassName - Name of the class used to parse nodes of this type
InputCustomizerClassName - Name of the class used to customize nodes of this type
InputViewClassName - Name of the class used to display nodes of this type

Methods

 o getName
 public String getName()
Get the name of the node.

Returns:
The name of the node
 o getType
 public int getType()
Get the node type.

Returns:
The node type
 o getTypeString
 public String getTypeString()
Get the string representation of the type of the node type.

Returns:
String representation of the node type
 o getNodeClassName
 public String getNodeClassName()
Get the name of the class used to represent nodes of this type.

Returns:
The node class name
 o getParserClassName
 public String getParserClassName()
Get the name of the class used to parse nodes of this type.

Returns:
The parser class name
 o getCustomizerClassName
 public String getCustomizerClassName()
Get the name of the class used to customize nodes of this type.

Returns:
The customizer class name
 o getViewClassName
 public String getViewClassName()
Get the name of the class used to display nodes of this type.

Returns:
The view class name
 o toString
 public String toString()
Return a string representation of this node type definition - mainly to be used for debug purposes.

Returns:
String representation of this node type definition
Overrides:
toString in class Object
 o setName
 public void setName(String InputNodeName)
Set the name of this node.

Parameters:
InputNodeName - Name of this node
 o setType
 public void setType(int InputNodeType)
Set the node type.

Parameters:
InputNodeType - The node type
 o setTypeString
 public void setTypeString(String InputNodeTypeString)
Set the string representation of this node type.

Parameters:
InputNodeTypeString - String representation of this node type
 o setNodeClassName
 public void setNodeClassName(String InputNodeClassName)
Set the name of the class used to represent nodes of this type.

Parameters:
InputNodeClassName - Name of node class
 o setParserClassName
 public void setParserClassName(String InputParserClassName)
Set the name of the class used to parse nodes of this type.

Parameters:
InputParserClassName - Name of parser class
 o setCustomizerClassName
 public void setCustomizerClassName(String InputCustomizerClassName)
Set the name of the class used to customize nodes of this type.

Parameters:
InputCustomizerClassName - Name of customizer class
 o setViewClassName
 public void setViewClassName(String InputViewClassName)
Set the name of the class used to display nodes of this type.

Parameters:
InputViewClassName - Name of view class
 o listToDebug
 public void listToDebug()
Output this node type definition to debug.


All Packages  Class Hierarchy  This Package  Previous  Next  Index