Destinationpublic class DOMDestination extends java.lang.Object implements Destination
| Constructor | Description |
|---|---|
DOMDestination(org.w3c.dom.Document root) |
Create a DOMDestination, supplying the root of a DOM document to which the
content of the result tree will be appended.
|
| Modifier and Type | Method | Description |
|---|---|---|
Receiver |
getReceiver(Configuration config) |
Return a Receiver.
|
public DOMDestination(org.w3c.dom.Document root)
root - the root node for the new tree.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.SaxonApiException - if the Receiver cannot be created