public abstract class AbstractWatch extends Object implements Watch
| Constructor and Description |
|---|
AbstractWatch() |
| 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.
|
NamespaceResolver |
getNamespaceResolver()
Get the namespace resolver in use by the Watch
|
PipelineConfiguration |
getPipelineConfiguration()
Get the pipeline configuration in use
|
SequenceReceiver |
getReceiver()
Get a receiver to which start and end events for documents and elements can be
written.
|
void |
open(Terminator terminator)
Open the watch.
|
void |
processItem(Item item)
Signal that a node (other than an element) that matches the selection
has been found.
|
void |
setNamespaceResolver(NamespaceResolver resolver)
Set a NamespaceResolver for use by the Watch
|
void |
setPipelineConfiguration(PipelineConfiguration pipe)
Set the PipelineConfiguration in use
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendSelectedParentNode, getAnchorNode, matchesNode, matchesNodesOfKind, setAnchorNode, startSelectedParentNodepublic final void setPipelineConfiguration(PipelineConfiguration pipe)
setPipelineConfiguration in interface Watchpipe - the PipelineConfiguration in usepublic final PipelineConfiguration getPipelineConfiguration()
getPipelineConfiguration in interface Watchpublic final void setNamespaceResolver(NamespaceResolver resolver)
setNamespaceResolver in interface Watchresolver - the namespace resolver to be usedpublic final NamespaceResolver getNamespaceResolver()
getNamespaceResolver in interface Watchpublic void open(Terminator terminator) throws XPathException
open in interface Watchterminator - XPathException - May be raised if a dynamic error occurspublic void processItem(Item item) throws XPathException
processItem in interface Watchitem - the node that was matched.XPathException - May be raised if a dynamic error occurspublic void close()
throws XPathException
close in interface WatchXPathException - May be raised if a dynamic error occurspublic SequenceReceiver getReceiver()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.