|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaxen.JaxenHandler
org.jaxen.pattern.PatternHandler
SAXPath XPathHandler implementation capable
of building Jaxen expression trees which can walk various
different object models.
| Field Summary |
| Fields inherited from class org.jaxen.JaxenHandler |
simplified, stack |
| Constructor Summary | |
PatternHandler()
|
|
| Method Summary | |
protected Pattern |
createAbsoluteLocationPath()
|
protected Pattern |
createRelativeLocationPath()
|
void |
endAbsoluteLocationPath()
Receive notification of the end of an absolute location path expression. |
protected void |
endLocationPath()
|
void |
endPathExpr()
Receive notification of the end of a path expression. |
void |
endRelativeLocationPath()
Receive notification of the end of a relative location path expression. |
protected void |
endStep()
|
void |
endUnionExpr(boolean create)
Receive notification of the end of a union ('|') expression. |
void |
endXPath()
Receive notification of the end of an XPath expression parse. |
Pattern |
getPattern()
Retrieve the simplified Jaxen Pattern expression tree. |
Pattern |
getPattern(boolean shouldSimplify)
Retrieve the Jaxen Pattern expression tree, optionally simplified. |
void |
startAbsoluteLocationPath()
Receive notification of the start of an absolute location path expression. |
void |
startAllNodeStep(int axis)
Receive notification of the start of a node() step. |
void |
startCommentNodeStep(int axis)
Receive notification of the start of a comment() step. |
void |
startNameStep(int axis,
String prefix,
String localName)
Receive notification of the start of a name step. |
void |
startProcessingInstructionNodeStep(int axis,
String name)
Receive notification of the start of a processing-instruction(...) step. |
void |
startRelativeLocationPath()
Receive notification of the start of a relative location path expression. |
void |
startTextNodeStep(int axis)
Receive notification of the start of a text() step. |
void |
startUnionExpr()
Receive notification of the start of a union ('|') expression. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PatternHandler()
| Method Detail |
public Pattern getPattern()
This method is only valid once XPathReader.parse(...)
successfully returned.
public Pattern getPattern(boolean shouldSimplify)
This method is only valid once XPathReader.parse(...)
successfully returned.
public void endXPath()
throws JaxenException
XPathHandler
endXPath in interface XPathHandlerendXPath in class JaxenHandlerJaxenException
public void endPathExpr()
throws JaxenException
XPathHandler
endPathExpr in interface XPathHandlerendPathExpr in class JaxenHandlerJaxenException
public void startAbsoluteLocationPath()
throws JaxenException
XPathHandler
startAbsoluteLocationPath in interface XPathHandlerstartAbsoluteLocationPath in class JaxenHandlerJaxenException
public void endAbsoluteLocationPath()
throws JaxenException
XPathHandler
endAbsoluteLocationPath in interface XPathHandlerendAbsoluteLocationPath in class JaxenHandlerJaxenException
public void startRelativeLocationPath()
throws JaxenException
XPathHandler
startRelativeLocationPath in interface XPathHandlerstartRelativeLocationPath in class JaxenHandlerJaxenException
public void endRelativeLocationPath()
throws JaxenException
XPathHandler
endRelativeLocationPath in interface XPathHandlerendRelativeLocationPath in class JaxenHandlerJaxenException
protected void endLocationPath()
throws JaxenException
endLocationPath in class JaxenHandlerJaxenException
public void startNameStep(int axis,
String prefix,
String localName)
throws JaxenException
XPathHandler
startNameStep in interface XPathHandlerstartNameStep in class JaxenHandlerJaxenException
public void startTextNodeStep(int axis)
throws JaxenException
XPathHandler
startTextNodeStep in interface XPathHandlerstartTextNodeStep in class JaxenHandlerJaxenException
public void startCommentNodeStep(int axis)
throws JaxenException
XPathHandler
startCommentNodeStep in interface XPathHandlerstartCommentNodeStep in class JaxenHandlerJaxenException
public void startAllNodeStep(int axis)
throws JaxenException
XPathHandler
startAllNodeStep in interface XPathHandlerstartAllNodeStep in class JaxenHandlerJaxenException
public void startProcessingInstructionNodeStep(int axis,
String name)
throws JaxenException
XPathHandler
startProcessingInstructionNodeStep in interface XPathHandlerstartProcessingInstructionNodeStep in class JaxenHandlerJaxenExceptionprotected void endStep()
endStep in class JaxenHandler
public void startUnionExpr()
throws JaxenException
XPathHandler
startUnionExpr in interface XPathHandlerstartUnionExpr in class JaxenHandlerJaxenException
public void endUnionExpr(boolean create)
throws JaxenException
XPathHandler
endUnionExpr in interface XPathHandlerendUnionExpr in class JaxenHandlerJaxenExceptionprotected Pattern createAbsoluteLocationPath()
protected Pattern createRelativeLocationPath()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||