|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.exolab.castor.xml.NodeType
The possible node types for an XML field. A field can be represented as an attribute, an element or text content. The default is attribute.
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 NodeType |
Namespace
Namespace node type (namespace). |
static short |
NAMESPACE
The namespace node type |
static NodeType |
Text
Content node type (text). |
static short |
TEXT
The text type |
Method Summary | |
static NodeType |
getNodeType(java.lang.String nodeType)
Returns the node type from the name. |
short |
getType()
Returns the type of this NodeType |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final short ATTRIBUTE
public static final short ELEMENT
public static final short NAMESPACE
public static final short TEXT
public static final NodeType Attribute
public static final NodeType Element
public static final NodeType Namespace
public static final NodeType Text
Method Detail |
public static NodeType getNodeType(java.lang.String nodeType)
Attribute
).
Otherwise returns the named node type mode.
nodeType
- The node type name
public short getType()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |