Package net.sf.saxon.event
Class CloseNotifier
- java.lang.Object
-
- net.sf.saxon.event.SequenceReceiver
-
- net.sf.saxon.event.ProxyReceiver
-
- net.sf.saxon.event.CloseNotifier
-
- All Implemented Interfaces:
javax.xml.transform.Result
,Receiver
public class CloseNotifier extends ProxyReceiver
A receiver that performs specified actions when closed
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.event.ProxyReceiver
nextReceiver
-
Fields inherited from class net.sf.saxon.event.SequenceReceiver
pipelineConfiguration, previousAtomic, systemId
-
-
Constructor Summary
Constructors Constructor Description CloseNotifier(Receiver next, java.util.List<Action> actionList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
End of output.-
Methods inherited from class net.sf.saxon.event.ProxyReceiver
append, characters, comment, endDocument, endElement, getNamePool, getNextReceiver, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startDocument, startElement, usesTypeAnnotations
-
Methods inherited from class net.sf.saxon.event.SequenceReceiver
append, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getPipelineConfiguration, getSystemId, handlesAppend
-
-
-
-
Method Detail
-
close
public void close() throws XPathException
End of output. Note that closing this receiver also closes the rest of the pipeline.- Specified by:
close
in interfaceReceiver
- Overrides:
close
in classProxyReceiver
- Throws:
XPathException
- if an error occurs
-
-