Package org.eclipse.wst.xml.xpath2.processor


org.eclipse.wst.xml.xpath2.processor
Class XPathParser



public class XPathParser
extends 
This is an interface class for the XPath parser.

Method Summary

public org.eclipse.wst.xml.xpath2.processor.ast.XPathparse(java.lang.String xpath)
     Constructor for the XPath parser interface.
public org.eclipse.wst.xml.xpath2.processor.ast.XPathparse(java.lang.String xpath , boolean isRootlessAccess)
     Constructor for the XPath parser interface.

Methods Detail

parse

public org.eclipse.wst.xml.xpath2.processor.ast.XPath parse(java.lang.String xpath)

Constructor for the XPath parser interface.

Parameters

xpath - is the input XPath to be parsed.

Returns

org.eclipse.wst.xml.xpath2.processor.ast.XPath - The parsed XPath.

Throws:

org.eclipse.wst.xml.xpath2.processor.XPathParserException - XPath parser exception.


parse

public org.eclipse.wst.xml.xpath2.processor.ast.XPath parse(java.lang.String xpath , boolean isRootlessAccess)

Constructor for the XPath parser interface.

Parameters

xpath - is the input XPath to be parsed.

isRootlessAccess - if 'true' then PsychoPath engine can't parse xpath expressions starting with / or //.

Returns

org.eclipse.wst.xml.xpath2.processor.ast.XPath - The parsed XPath.

Throws:

org.eclipse.wst.xml.xpath2.processor.XPathParserException - XPath parser exception.