Class SimpleXPathParser
java.lang.Object
com.predic8.membrane.core.interceptor.xmlcontentfilter.SimpleXPathParser
Partially parses XPath expressions. ("Partially" meaning that we are not
interested in the full XPath grammar: Uninteresting parts are left as
"unparsed string nodes" as long as we are able to parse the interesting
parts.)
An XPath expression, given as a string, is transformed into a tree of nodes
(instances of subclasses of 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 ... .
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classThis class together with its subclasses are used to build our syntax tree.static classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMain entry point into this class.
-
Constructor Details
-
SimpleXPathParser
public SimpleXPathParser()
-
-
Method Details
-
parse
Main entry point into this class.
-