public class SimpleXPathParser extends Object
SimpleXPathParser.Node
).
We are only interested in strings, comments, round- and
square-bracket-expressions. Any other substring of the expression is
concatenated into a node of type SimpleXPathParser.UnparsedStringNode
.
See the XPath 2.0 spec at http://www.w3.org/TR/xpath20/ .Modifier and Type | Class and Description |
---|---|
static class |
SimpleXPathParser.CommentNode |
static class |
SimpleXPathParser.ContainerNode |
static class |
SimpleXPathParser.Node
This class together with its subclasses are used to build our syntax tree.
|
static class |
SimpleXPathParser.RoundBracketNode |
static class |
SimpleXPathParser.SquareBracketNode |
static class |
SimpleXPathParser.StringNode |
static class |
SimpleXPathParser.UnparsedStringNode |
Constructor and Description |
---|
SimpleXPathParser() |
public SimpleXPathParser.ContainerNode parse(String xpath)
Copyright © 2012. All Rights Reserved.