|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.xml_project.morganaxproc.core.XPathInXProcPattern
public class XPathInXProcPattern
Instances of this class represent a ready to evaluate XPath match pattern
Method Summary | |
---|---|
nu.xom.Node[] |
evaluate(nu.xom.Node context,
boolean deepVisit)
Returns an array of nodes all matching the test expression. |
java.lang.String |
getExpression()
Returns the expression represented in this XPath match pattern as string |
boolean |
matches(nu.xom.Node context)
Tests, whether the given node matches the test. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean matches(nu.xom.Node context) throws XPathException
Tests, whether the given node matches the test.
context
- the node to be tested.
XPathException
public nu.xom.Node[] evaluate(nu.xom.Node context, boolean deepVisit) throws XPathException
Returns an array of nodes all matching the test expression.
context
- the node to be tested.deepVisit
- true means, test all children too.
XPathException
- if an error occurred.public java.lang.String getExpression()
Returns the expression represented in this XPath match pattern as string
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |