Class PathMap.PathMapArc

java.lang.Object
net.sf.saxon.expr.parser.PathMap.PathMapArc
Enclosing class:
PathMap

public static class PathMap.PathMapArc extends 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 Details Link icon

    • PathMapArc Link icon

      protected PathMapArc(int axis, NodeTest test, PathMap.PathMapNode target)
      Create a PathMapArc
      Parameters:
      axis - the axis (a constant from class AxisInfo
      test - the node test
      target - the node reached by following this arc
  • Method Details Link icon

    • getAxis Link icon

      public int getAxis()
      Get the Axis associated with this arc
      Returns:
      the axis, a constant from class AxisInfo
    • getNodeTest Link icon

      public NodeTest getNodeTest()
      Get the NodeTest associated with this arc
      Returns:
      the NodeTest
    • getTarget Link icon

      public PathMap.PathMapNode getTarget()
      Get the target node representing the destination of this arc
      Returns:
      the target node