org.apache.xerces.impl.xpath
Class XPath
java.lang.Object
org.apache.xerces.impl.xpath.XPath
public class XPath
extends java.lang.Object
Bare minimum XPath parser.
$Id: XPath.java 388860 2006-03-25 23:50:16Z mrglavas $
XPath(String xpath, SymbolTable symbolTable, org.apache.xerces.xni.NamespaceContext context) - Constructs an XPath object from the specified expression.
|
fExpression
protected String fExpression
Expression.
fSymbolTable
protected SymbolTable fSymbolTable
Symbol table.
XPath
public XPath(String xpath,
SymbolTable symbolTable,
org.apache.xerces.xni.NamespaceContext context)
throws XPathException
Constructs an XPath object from the specified expression.
getLocationPath
public XPath.LocationPath getLocationPath()
Returns a representation of the first location path for this XPath.
getLocationPaths
public XPath.LocationPath[] getLocationPaths()
Returns a representation of all location paths for this XPath.
XPath = locationPath ( '|' locationPath)
main
public static void main(String[] argv)
throws Exception
Main program entry.
toString
public String toString()
Returns a string representation of this object.
Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.