org.exolab.castor.xml
public class NodeType extends Object
Version: $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
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