org.jaxen.pattern
public class PatternHandler extends JaxenHandler
XPathHandler
implementation capable
of building Jaxen expression trees which can walk various
different object models.
Field Summary | |
---|---|
Pattern | pattern |
Constructor Summary | |
---|---|
PatternHandler() |
Method Summary | |
---|---|
protected Pattern | createAbsoluteLocationPath() |
protected Pattern | createRelativeLocationPath() |
void | endAbsoluteLocationPath() |
protected void | endLocationPath() |
void | endPathExpr() |
void | endRelativeLocationPath() |
protected void | endStep() |
void | endUnionExpr(boolean create) |
void | endXPath() |
Pattern | getPattern() Retrieve the simplified Jaxen Pattern expression tree.
|
Pattern | getPattern(boolean shouldSimplify) Retrieve the Jaxen Pattern expression tree, optionally
simplified.
|
void | startAbsoluteLocationPath() |
void | startAllNodeStep(int axis) |
void | startCommentNodeStep(int axis) |
void | startNameStep(int axis, String prefix, String localName) |
void | startProcessingInstructionNodeStep(int axis, String name) |
void | startRelativeLocationPath() |
void | startTextNodeStep(int axis) |
void | startUnionExpr() |
This method is only valid once XPathReader.parse(...)
successfully returned.
Returns: The Pattern expression tree.
This method is only valid once XPathReader.parse(...)
successfully returned.
Parameters: shouldSimplify ????
Returns: The Pattern expression tree.