public class XPath
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | XPath.AxisAxis. | 
| static class  | XPath.LocationPathA location path representation for an XPath expression. | 
| static class  | XPath.NodeTestNode test. | 
| static class  | XPath.StepA location path step comprised of an axis and node test. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected java.lang.String | fExpressionExpression. | 
| protected XPath.LocationPath[] | fLocationPathsLocation paths. | 
| protected SymbolTable | fSymbolTableSymbol table. | 
| Constructor and Description | 
|---|
| XPath(java.lang.String xpath,
     SymbolTable symbolTable,
     org.apache.xerces.xni.NamespaceContext context)Constructs an XPath object from the specified expression. | 
| Modifier and Type | Method and Description | 
|---|---|
| XPath.LocationPath | getLocationPath()Returns a representation of the first location path for this XPath. | 
| XPath.LocationPath[] | getLocationPaths()Returns a representation of all location paths for this XPath. | 
| static void | main(java.lang.String[] argv)Main program entry. | 
| java.lang.String | toString()Returns a string representation of this object. | 
protected final java.lang.String fExpression
protected final SymbolTable fSymbolTable
protected final XPath.LocationPath[] fLocationPaths
public XPath(java.lang.String xpath,
     SymbolTable symbolTable,
     org.apache.xerces.xni.NamespaceContext context)
      throws XPathException
XPathExceptionpublic XPath.LocationPath[] getLocationPaths()
public XPath.LocationPath getLocationPath()
public java.lang.String toString()
toString in class java.lang.Objectpublic static void main(java.lang.String[] argv)
                 throws java.lang.Exception
java.lang.ExceptionCopyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.