Package net.sf.saxon.expr.parser
Class PathMap.PathMapArc
- java.lang.Object
-
- net.sf.saxon.expr.parser.PathMap.PathMapArc
-
- Enclosing class:
- PathMap
public static class PathMap.PathMapArc extends java.lang.Object
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
Constructors Modifier Constructor Description protected
PathMapArc(int axis, NodeTest test, PathMap.PathMapNode target)
Create a PathMapArc
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAxis()
Get the Axis associated with this arcNodeTest
getNodeTest()
Get the NodeTest associated with this arcPathMap.PathMapNode
getTarget()
Get the target node representing the destination of this arc
-
-
-
Constructor Detail
-
PathMapArc
protected PathMapArc(int axis, NodeTest test, PathMap.PathMapNode target)
Create a PathMapArc- Parameters:
axis
- the axis (a constant from classAxisInfo
test
- the node testtarget
- the node reached by following this arc
-
-
Method Detail
-
getAxis
public int getAxis()
Get the Axis associated with this arc- Returns:
- the axis, a constant from class
AxisInfo
-
getNodeTest
public NodeTest getNodeTest()
Get the NodeTest associated with this arc- Returns:
- the NodeTest
-
getTarget
public PathMap.PathMapNode getTarget()
Get the target node representing the destination of this arc- Returns:
- the target node
-
-