public class ReceivingDestination extends AbstractDestination
Destinationthat simply wraps a supplied
Receiver will be wrapped in a sequence normalizer unless requested
otherwise. Specifically, it is wrapped unless the method
|Constructor and Description|
|Modifier and Type||Method and Description|
Ask whether this receiver accepts raw output, that is, an arbitrary sequence of items not necessarily forming an XML document or element tree.
Close the destination, allowing resources to be released.
closeAndNotify, getDestinationBaseURI, onClose, setDestinationBaseURI
public Receiver getReceiver(PipelineConfiguration pipe, SerializationProperties properties)
Receiverto which events may be sent. For this implementation, this will be the wrapped
pipe- The Saxon configuration. Not used in this implementation.
properties- The required serialization properties (not used)
public boolean acceptsRawOutput()
public void close() throws SaxonApiException
close() method should not cause any adverse effects if it is called more than
once. If any other method is called after the
close() call, the results are undefined.
This means that a Destination is not, in general, serially reusable.
Destination.onClose(net.sf.saxon.s9api.Action) action has been associated with the destination,
this will be called after the destination is closed.
SaxonApiException- if any failure occurs
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.