org.exolab.castor.xml
public class NodeType extends Object
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:12 $
| Field Summary | |
|---|---|
| static NodeType | Attribute
Attribute node type (attribute). |
| static short | ATTRIBUTE
The attribute type
|
| static NodeType | Element
Element node type (element). |
| static short | ELEMENT
The element type
|
| static short | NAMESPACE
The namespace node type
|
| static NodeType | Namespace
Namespace node type (namespace). |
| static NodeType | Text
Content node type (text). |
| static short | TEXT
The text type
|
| Method Summary | |
|---|---|
| static NodeType | getNodeType(String nodeType)
Returns the node type from the name. |
| short | getType()
Returns the type of this NodeType |
| String | toString() |
Parameters: nodeType The node type name
Returns: The node type
Returns: the type of this NodeType