Destinationpublic class TeeDestination extends java.lang.Object implements Destination
| Constructor | 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 | Description |
|---|---|---|
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 created