Class XPath.LocationPath

  • All Implemented Interfaces:
    Cloneable
    Enclosing class:
    XPath

    public static class XPath.LocationPath
    extends Object
    implements Cloneable
    A location path representation for an XPath expression.
    Author:
    Andy Clark, IBM
    • Field Detail

      • steps

        public final XPath.Step[] steps
        List of steps.
    • Constructor Detail

      • LocationPath

        public LocationPath​(XPath.Step[] steps)
        Creates a location path from a series of steps.
    • Method Detail

      • toString

        public String toString()
        Returns a string representation of this object.
        Overrides:
        toString in class Object
      • clone

        public Object clone()
        Returns a clone of this object.
        Overrides:
        clone in class Object