public class TeeDestination extends java.lang.Object implements Destination
| 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(Configuration config)
Return a Receiver.
|
public TeeDestination(Destination destination0, Destination destination1)
destination0 - the first destinationdestination1 - the second destinationpublic Receiver getReceiver(Configuration config) throws SaxonApiException
getReceiver in interface Destinationconfig - 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.PipelineConfiguration before calling
its open() method.SaxonApiException - if the Receiver cannot be createdpublic void close()
throws SaxonApiException
close in interface DestinationSaxonApiException - if any failure occursCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.