Class Axis
java.lang.Object
com.icl.saxon.om.Axis
An axis, that is a direction of navigation in the document structure.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byteConstants representing the axesstatic final bytestatic final bytestatic final String[]Table giving the name each axisstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final boolean[]Table indicating for each axis whether it is in forwards document orderstatic final boolean[]Table indicating for each axis whether it is a peer axis.static final boolean[]Table indicating for each axis whether it is in reverse document orderstatic final boolean[]Table indicating for each axis whether it is contained within the subtree rooted at the origin node.static final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final short[]Table indicating the principal node type of each axisstatic final byte -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic bytegetAxisNumber(String name) Resolve an axis name into a symbolic constant representing the axis
-
Field Details
-
ANCESTOR
public static final byte ANCESTORConstants representing the axes- See Also:
-
ANCESTOR_OR_SELF
public static final byte ANCESTOR_OR_SELF- See Also:
-
ATTRIBUTE
public static final byte ATTRIBUTE- See Also:
-
CHILD
public static final byte CHILD- See Also:
-
DESCENDANT
public static final byte DESCENDANT- See Also:
-
DESCENDANT_OR_SELF
public static final byte DESCENDANT_OR_SELF- See Also:
-
FOLLOWING
public static final byte FOLLOWING- See Also:
-
FOLLOWING_SIBLING
public static final byte FOLLOWING_SIBLING- See Also:
-
NAMESPACE
public static final byte NAMESPACE- See Also:
-
PARENT
public static final byte PARENT- See Also:
-
PRECEDING
public static final byte PRECEDING- See Also:
-
PRECEDING_SIBLING
public static final byte PRECEDING_SIBLING- See Also:
-
SELF
public static final byte SELF- See Also:
-
PRECEDING_OR_ANCESTOR
public static final byte PRECEDING_OR_ANCESTOR- See Also:
-
principalNodeType
public static final short[] principalNodeTypeTable indicating the principal node type of each axis -
isForwards
public static final boolean[] isForwardsTable indicating for each axis whether it is in forwards document order -
isReverse
public static final boolean[] isReverseTable indicating for each axis whether it is in reverse document order -
isPeerAxis
public static final boolean[] isPeerAxisTable indicating for each axis whether it is a peer axis. An axis is a peer axis if no node on the axis is an ancestor of another node on the axis. -
isSubtreeAxis
public static final boolean[] isSubtreeAxisTable indicating for each axis whether it is contained within the subtree rooted at the origin node. -
axisName
Table giving the name each axis
-
-
Constructor Details
-
Axis
public Axis()
-
-
Method Details
-
getAxisNumber
Resolve an axis name into a symbolic constant representing the axis- Throws:
XPathException
-