edu.uky.rch.ept.data.filesystem.cxpath
Class Axis
java.lang.Object
edu.uky.rch.ept.data.filesystem.cxpath.Axis
- public final class Axis
- extends Object
An XPath axis. Uses the typesafe enum pattern.
- Author:
- neil
CHILD
public static final Axis CHILD
PARENT
public static final Axis PARENT
DESCENDANT
public static final Axis DESCENDANT
DESCENDANT_OR_SELF
public static final Axis DESCENDANT_OR_SELF
ANCESTOR
public static final Axis ANCESTOR
ANCESTOR_OR_SELF
public static final Axis ANCESTOR_OR_SELF
OVERLAPPING
public static final Axis OVERLAPPING
INTERSECTING
public static final Axis INTERSECTING
FOLLOWING
public static final Axis FOLLOWING
FOLLOWING_SIBLING
public static final Axis FOLLOWING_SIBLING
PRECEDING
public static final Axis PRECEDING
PRECEDING_SIBLING
public static final Axis PRECEDING_SIBLING
ATTRIBUTE
public static final Axis ATTRIBUTE
NAMESPACE
public static final Axis NAMESPACE
getName
public String getName()
toString
public String toString()
byName
public static Axis byName(String name)
throws InvalidAxisException
- Return the
Axis object with the specified name.
- Parameters:
name - the name of the axis.
- Returns:
- an
Axis object.
- Throws:
InvalidAxisException - if there is no axis with the given name.