public final class NodeType
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
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.
|
Modifier and Type | Method | Description |
---|---|---|
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() |
Returns the name of this NodeType.
|
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
public static NodeType getNodeType(java.lang.String nodeType)
Attribute
). Otherwise returns
the named node type mode.nodeType
- The node type namepublic short getType()
public java.lang.String toString()
toString
in class java.lang.Object
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com