|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectnet.sf.saxon.s9api.TeeDestination
public class TeeDestination
A TeeDestination allows writing to two destinations at once. For example the output of a transformation can be written simultaneously to a Serializer and to a second Transformation. By chaining together a number of TeeDestinations it is possible to write to any number of destinations at once.
| Constructor Summary | |
|---|---|
TeeDestination(Destination destination0,
Destination destination1)
Create a TeeDestination: a destination which copies everything that is sent to it to two separate destinations |
|
| Method Summary | |
|---|---|
Receiver |
getReceiver(Configuration config)
Return a Receiver. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TeeDestination(Destination destination0,
Destination destination1)
destination0 - the first destinationdestination1 - the second destination| Method Detail |
|---|
public 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
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||