de.fraunhofer.ipsi.xquery.enums
Enum AxisEnum

java.lang.Object
  extended by java.lang.Enum<AxisEnum>
      extended by de.fraunhofer.ipsi.xquery.enums.AxisEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AxisEnum>

public enum AxisEnum
extends java.lang.Enum<AxisEnum>


Enum Constant Summary
ancestor
           
ancestor_or_self
           
attribute
           
child
           
descendant
           
descendant_or_self
           
following
           
following_sibling
           
parent
           
preceding
           
preceding_sibling
           
self
           
 
Method Summary
 boolean isForwardAxis()
          Method isForwardAxis
 java.lang.String toString()
          Method toString
static AxisEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AxisEnum[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

child

public static final AxisEnum child

descendant

public static final AxisEnum descendant

attribute

public static final AxisEnum attribute

self

public static final AxisEnum self

descendant_or_self

public static final AxisEnum descendant_or_self

following_sibling

public static final AxisEnum following_sibling

following

public static final AxisEnum following

parent

public static final AxisEnum parent

ancestor

public static final AxisEnum ancestor

preceding_sibling

public static final AxisEnum preceding_sibling

preceding

public static final AxisEnum preceding

ancestor_or_self

public static final AxisEnum ancestor_or_self
Method Detail

values

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

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

valueOf

public static AxisEnum 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

isForwardAxis

public boolean isForwardAxis()
Method isForwardAxis

Returns:
a boolean

toString

public java.lang.String toString()
Method toString

Overrides:
toString in class java.lang.Enum<AxisEnum>
Returns:
a String