com.xml_project.morganaxpath.nodes
Enum NodeModel.NodeAxis

java.lang.Object
  extended by java.lang.Enum<NodeModel.NodeAxis>
      extended by com.xml_project.morganaxpath.nodes.NodeModel.NodeAxis
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NodeModel.NodeAxis>
Enclosing interface:
NodeModel

public static enum NodeModel.NodeAxis
extends java.lang.Enum<NodeModel.NodeAxis>

This axis defined in XDM


Enum Constant Summary
ANCESTOR
           
ANCESTOR_OR_SELF
           
ATTRIBUTE
           
CHILD
           
DESCENDANT
           
DESCENDANT_OR_SELF
           
FOLLOWING
           
FOLLOWING_SIBLING
           
NAMESPACE
           
PARENT
           
PRECEDING
           
PRECEDING_SIBLING
           
SELF
           
 
Method Summary
static NodeModel.NodeAxis valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NodeModel.NodeAxis[] 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

CHILD

public static final NodeModel.NodeAxis CHILD

DESCENDANT

public static final NodeModel.NodeAxis DESCENDANT

ATTRIBUTE

public static final NodeModel.NodeAxis ATTRIBUTE

SELF

public static final NodeModel.NodeAxis SELF

DESCENDANT_OR_SELF

public static final NodeModel.NodeAxis DESCENDANT_OR_SELF

FOLLOWING_SIBLING

public static final NodeModel.NodeAxis FOLLOWING_SIBLING

FOLLOWING

public static final NodeModel.NodeAxis FOLLOWING

NAMESPACE

public static final NodeModel.NodeAxis NAMESPACE

PARENT

public static final NodeModel.NodeAxis PARENT

ANCESTOR

public static final NodeModel.NodeAxis ANCESTOR

PRECEDING_SIBLING

public static final NodeModel.NodeAxis PRECEDING_SIBLING

PRECEDING

public static final NodeModel.NodeAxis PRECEDING

ANCESTOR_OR_SELF

public static final NodeModel.NodeAxis ANCESTOR_OR_SELF
Method Detail

values

public static NodeModel.NodeAxis[] 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.NodeAxis c : NodeModel.NodeAxis.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.NodeAxis valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null