|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xpath.converter.XPathParser
public class XPathParser
Parser for XPath paths.
Constructor Summary | |
---|---|
XPathParser()
Constructs a new XPath parser. |
Method Summary | |
---|---|
Path |
parse(String str)
Parses a given XPath path. |
UnionExpr |
parseUnion(String str)
Parses a given XPath path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPathParser()
Method Detail |
---|
public Path parse(String str) throws XPathException
parseUnion(String)
to support more general XPath expressions.
str
- a string representation of an XPath path
Path
representation of str
XPathException
- if parse errorpublic UnionExpr parseUnion(String str) throws XPathException
str
- a string representation of an XPath path
UnionExpr
representation of str
XPathException
- if parse error
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |