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,v 1.18 2005/03/07 23:28:41 mrglavas Exp $
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-2005 Apache XML Project. All Rights Reserved.