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


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



public class JFlexCupParser
extends java.lang.Object
JFlexCupParser parses the xpath expression

Constructor Summary

JFlexCupParser()

Method Summary

public org.eclipse.wst.xml.xpath2.processor.ast.XPathparse(java.lang.String xpath)
     Tries to parse the xpath expression
public org.eclipse.wst.xml.xpath2.processor.ast.XPathparse(java.lang.String xpath , boolean isRootlessAccess)
     Tries to parse the xpath expression

Constructor Detail

JFlexCupParser

public JFlexCupParser()


Methods Detail

parse

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

Tries to parse the xpath expression

Parameters

xpath - is the xpath string.

Returns

org.eclipse.wst.xml.xpath2.processor.ast.XPath - the xpath value.

Throws:

org.eclipse.wst.xml.xpath2.processor.XPathParserException


parse

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

Tries to parse the xpath expression

Parameters

xpath - is the xpath string.

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

Returns

org.eclipse.wst.xml.xpath2.processor.ast.XPath - the xpath value.

Throws:

org.eclipse.wst.xml.xpath2.processor.XPathParserException