public class TeeDestination extends AbstractDestination
helper| Constructor and Description |
|---|
TeeDestination(Destination destination0,
Destination destination1)
Create a TeeDestination: a destination which copies everything that is sent to it to two
separate destinations
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the destination, allowing resources to be released.
|
Receiver |
getReceiver(PipelineConfiguration pipe,
SerializationProperties params)
Return a Receiver.
|
closeAndNotify, getDestinationBaseURI, onClose, setDestinationBaseURIpublic TeeDestination(Destination destination0, Destination destination1)
destination0 - the first destinationdestination1 - the second destinationpublic Receiver getReceiver(PipelineConfiguration pipe, SerializationProperties params) throws SaxonApiException
pipe - The Saxon configuration. This is supplied so that the destination can
use information from the configuration (for example, a reference to the name pool)
to construct or configure the returned Receiver.params - PipelineConfiguration before calling
its open() method.SaxonApiException - if the Receiver cannot be createdpublic void close()
throws SaxonApiException
SaxonApiException - if any failure occursCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.