public class

XPath

extends Object
java.lang.Object
   ↳ org.apache.xerces.impl.xpath.XPath
Known Direct Subclasses

Class Overview

Bare minimum XPath parser.@xerces.internal

Summary

Nested Classes
class XPath.Axis Axis.@xerces.internal 
class XPath.LocationPath A location path representation for an XPath expression.@xerces.internal 
class XPath.NodeTest Node test.@xerces.internal 
class XPath.Step A location path step comprised of an axis and node test.@xerces.internal 
Fields
protected String fExpression Expression.
protected LocationPath[] fLocationPaths Location paths.
protected SymbolTable fSymbolTable Symbol table.
Public Constructors
XPath(String xpath, SymbolTable symbolTable, NamespaceContext context)
Constructs an XPath object from the specified expression.
Public Methods
XPath.LocationPath getLocationPath()
Returns a representation of the first location path for this XPath.
LocationPath[] getLocationPaths()
Returns a representation of all location paths for this XPath.
static void main(String[] argv)
Main program entry.
String toString()
Returns a string representation of this object.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String fExpression

Expression.

protected LocationPath[] fLocationPaths

Location paths.

protected SymbolTable fSymbolTable

Symbol table.

Public Constructors

public XPath (String xpath, SymbolTable symbolTable, NamespaceContext context)

Constructs an XPath object from the specified expression.

Public Methods

public XPath.LocationPath getLocationPath ()

Returns a representation of the first location path for this XPath.

public LocationPath[] getLocationPaths ()

Returns a representation of all location paths for this XPath. XPath = locationPath ( '|' locationPath)

public static void main (String[] argv)

Main program entry.

Throws
Exception

public String toString ()

Returns a string representation of this object.