com.xml_project.morganaxproc.xpath.nodes
Enum NodeModel.NodeKinds

java.lang.Object
  extended by java.lang.Enum<NodeModel.NodeKinds>
      extended by com.xml_project.morganaxproc.xpath.nodes.NodeModel.NodeKinds
All Implemented Interfaces:
Serializable, Comparable<NodeModel.NodeKinds>
Enclosing interface:
NodeModel

public static enum NodeModel.NodeKinds
extends Enum<NodeModel.NodeKinds>

The node kinds defined in XDM


Enum Constant Summary
ATTRIBUTE
           
COMMENT
           
DOCUMENT_NODE
           
ELEMENT
           
NAMESPACE
           
NODE
           
PROCESSING_INSTRUCTION
           
SCHEMA_ATTRIBUTE
           
SCHEMA_ELEMENT
           
TEXT
           
 
Method Summary
static NodeModel.NodeKinds valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NodeModel.NodeKinds[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DOCUMENT_NODE

public static final NodeModel.NodeKinds DOCUMENT_NODE

ELEMENT

public static final NodeModel.NodeKinds ELEMENT

SCHEMA_ELEMENT

public static final NodeModel.NodeKinds SCHEMA_ELEMENT

ATTRIBUTE

public static final NodeModel.NodeKinds ATTRIBUTE

SCHEMA_ATTRIBUTE

public static final NodeModel.NodeKinds SCHEMA_ATTRIBUTE

PROCESSING_INSTRUCTION

public static final NodeModel.NodeKinds PROCESSING_INSTRUCTION

COMMENT

public static final NodeModel.NodeKinds COMMENT

TEXT

public static final NodeModel.NodeKinds TEXT

NODE

public static final NodeModel.NodeKinds NODE

NAMESPACE

public static final NodeModel.NodeKinds NAMESPACE
Method Detail

values

public static NodeModel.NodeKinds[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (NodeModel.NodeKinds c : NodeModel.NodeKinds.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NodeModel.NodeKinds valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null