public class DOMDestination extends AbstractDestination
helper
Constructor and Description |
---|
DOMDestination(org.w3c.dom.Node root)
Create a DOMDestination, supplying a node in a DOM document to which the
content of the result tree will be attached.
|
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, setDestinationBaseURI
public DOMDestination(org.w3c.dom.Node root)
root
- the root node for the new tree. This must be a document or element node.public Receiver getReceiver(PipelineConfiguration pipe, SerializationProperties params)
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
- public void close() throws SaxonApiException
SaxonApiException
- if any failure occursCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.