Class XPath

java.lang.Object
org.apache.xerces.impl.xpath.XPath
Direct Known Subclasses:
Field.XPath, Selector.XPath

public class XPath extends Object
Bare minimum XPath parser.

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.
Version:
$Id: XPath.java 965250 2010-07-18 16:04:58Z mrglavas $
Author:
Andy Clark, IBM
  • Field Details

    • fExpression

      protected final String fExpression
      Expression.
    • fSymbolTable

      protected final SymbolTable fSymbolTable
      Symbol table.
    • fLocationPaths

      protected final XPath.LocationPath[] fLocationPaths
      Location paths.
  • Constructor Details

  • Method Details

    • getLocationPaths

      public XPath.LocationPath[] getLocationPaths()
      Returns a representation of all location paths for this XPath. XPath = locationPath ( '|' locationPath)
    • getLocationPath

      public XPath.LocationPath getLocationPath()
      Returns a representation of the first location path for this XPath.
    • toString

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

      public static void main(String[] argv) throws Exception
      Main program entry.
      Throws:
      Exception