|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents an in-progress state for an event-oriented XPath.
Method Summary | |
Item |
match(Item current)
Returns 'true' if the event is in a of the matching sub-tree of the xpath from which this state was created. |
void |
reset()
Resets the state and effectively resets the XPath. |
Method Detail |
public Item match(Item current) throws XPathException
If a whole infoset is passed event-by-event to this method, all matching subtrees will be identified in the document.
current
- The info item to check
MXPathDynamicError
- Thrown when there is a dynamic error in evaluating the XPath
XPathException
public void reset()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |