public abstract class EventPushingWatch extends AbstractWatch
| Constructor and Description |
|---|
EventPushingWatch(Expression expression,
SequenceReceiver result,
Stack<XPathContext> contextStack) |
| Modifier and Type | Method and Description |
|---|---|
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() |
Stack<XPathContext> |
getContextStack() |
Expression |
getExpression() |
Feed |
getParentExpressionFeed() |
SequenceReceiver |
getResult() |
void |
open()
Open the watch.
|
void |
setParentExpressionFeed(Feed feed)
Set a feed to be notified when this watch is opened and closed.
|
getAnchorNode, getNamespaceResolver, getPipelineConfiguration, getSelection, notifySelectedLeafNode, setAnchorNode, setNamespaceResolver, setPipelineConfiguration, setSelectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendSelectedParentNode, startSelectedParentNodepublic EventPushingWatch(Expression expression, SequenceReceiver result, Stack<XPathContext> contextStack)
public SequenceReceiver getResult()
public Expression getExpression()
public XPathContext getContext()
public Stack<XPathContext> getContextStack()
public void setParentExpressionFeed(Feed feed)
feed - the feed to be notified when this Watch is opened or closed.public Feed getParentExpressionFeed()
public void open()
throws XPathException
AbstractWatchopen in interface Watchopen in class AbstractWatchXPathExceptionpublic void close()
throws XPathException
AbstractWatchclose in interface Watchclose in class AbstractWatchXPathExceptionCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.