Package net.sf.saxon.expr.parser
Class PathMap.PathMapArc
java.lang.Object
net.sf.saxon.expr.parser.PathMap.PathMapArc
- Enclosing class:
PathMap
An arc joining two nodes in the path map. The arc has a target (destination) node, and is
labelled with an AxisExpression representing a step in a path expression
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PathMapArc
(int axis, NodeTest test, PathMap.PathMapNode target) Create a PathMapArc -
Method Summary
Modifier and TypeMethodDescriptionint
getAxis()
Get the Axis associated with this arcGet the NodeTest associated with this arcGet the target node representing the destination of this arc
-
Constructor Details
-
PathMapArc
Create a PathMapArc- Parameters:
axis
- the axis (a constant from classAxisInfo
test
- the node testtarget
- the node reached by following this arc
-
-
Method Details
-
getAxis
public int getAxis()Get the Axis associated with this arc- Returns:
- the axis, a constant from class
AxisInfo
-
getNodeTest
Get the NodeTest associated with this arc- Returns:
- the NodeTest
-
getTarget
Get the target node representing the destination of this arc- Returns:
- the target node
-