|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.saxonica.validate.AbstractWatch
com.saxonica.stream.watch.ComposingWatch
public abstract class ComposingWatch
A ComposingWatch is a Watch that evaluates an expression based on the nodes encountered in a streamed input document, passing the value of that expression as a sequence of items to an ItemFeed.
| Constructor Summary | |
|---|---|
ComposingWatch(Feed result,
Stack<XPathContext> contextStack)
|
|
| Method Summary | |
|---|---|
void |
close()
The close() method is called immediately before the Watch is destroyed, that is, when the element whose declaration scopes the constraint implemented by this Watch goes out of scope. |
XPathContext |
getContext()
Get the dynamic context (the top frame of the context stack) |
Stack<XPathContext> |
getContextStack()
Get the context stack |
Feed |
getResult()
|
void |
open()
Open the watch. |
| Methods inherited from class com.saxonica.validate.AbstractWatch |
|---|
getAnchorNode, getNamespaceResolver, getPipelineConfiguration, getSelection, notifySelectedLeafNode, setAnchorNode, setNamespaceResolver, setPipelineConfiguration, setSelection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.saxonica.stream.watch.Watch |
|---|
endSelectedParentNode, startSelectedParentNode |
| Constructor Detail |
|---|
public ComposingWatch(Feed result,
Stack<XPathContext> contextStack)
| Method Detail |
|---|
public Feed getResult()
public XPathContext getContext()
public Stack<XPathContext> getContextStack()
public void open()
throws XPathException
open in interface Watchopen in class AbstractWatchXPathException
public void close()
throws XPathException
close in interface Watchclose in class AbstractWatchXPathException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||