|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.adaptx.xpath.XPathParser
The XPath parser. Provides functionality for creating an XPathExpression from a given string representation.
| Constructor Summary | |
|---|---|
XPathParser()
Default constructor |
|
| Method Summary | |
|---|---|
XPathExpression |
createExpression(java.lang.String xpath)
Creates an XPath expression from the given String |
XPathExpression |
createSelectExpression(java.lang.String xpath)
Creates an XPath expression that will evaluate to a NodeSet. |
static XPathParser |
newInstance()
|
void |
setUseErrorExpr(boolean useErrorExpr)
Enables the use of an error expression. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XPathParser()
| Method Detail |
public XPathExpression createExpression(java.lang.String xpath)
throws XPathException
xpath - the String to create the expression from
XPathException
public XPathExpression createSelectExpression(java.lang.String xpath)
throws XPathException
xpath - the String to create the select expression from.
XPathExceptionpublic static XPathParser newInstance()
public void setUseErrorExpr(boolean useErrorExpr)
useErrorExpr - a boolean that when true will return
an ErrorExpr instead of throwing an XPathException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||