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, setSelection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endSelectedParentNode, startSelectedParentNode
public 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
AbstractWatch
open
in interface Watch
open
in class AbstractWatch
XPathException
public void close() throws XPathException
AbstractWatch
close
in interface Watch
close
in class AbstractWatch
XPathException
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.