public class ActiveDOMSource extends javax.xml.transform.dom.DOMSource implements ActiveSource
DOMSource that implements the ActiveSource interface,
so it knows how to send itself to a Receiver| Constructor and Description |
|---|
ActiveDOMSource(javax.xml.transform.dom.DOMSource source)
Construct an ActiveDOMSource from a DOMSource
|
ActiveDOMSource(org.w3c.dom.Node node,
java.lang.String systemId) |
| Modifier and Type | Method and Description |
|---|---|
void |
deliver(Receiver receiver,
ParseOptions options)
Deliver the content of the source to a supplied Receiver.
|
getNode, getSystemId, setNode, setSystemIdpublic ActiveDOMSource(org.w3c.dom.Node node,
java.lang.String systemId)
public ActiveDOMSource(javax.xml.transform.dom.DOMSource source)
source - the input source object, whose properties are copied.public void deliver(Receiver receiver, ParseOptions options) throws XPathException
ActiveSourceFor many (but not all) implementations of Source, this method consumes
the source and can therefore only be called once.
deliver in interface ActiveSourcereceiver - the receiver to which events representing the parsed XML document will be sentoptions - options for parsing the sourceXPathException - if parsing fails for any reason. The detailed diagnostics will
have been sent to the error reporter.Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.