public class ActiveStreamSource extends javax.xml.transform.stream.StreamSource implements ActiveSource
StreamSource object providing a deliver(Receiver, ParseOptions) method
so that the contents of the source can be delivered to a supplied Receiver| Constructor and Description |
|---|
ActiveStreamSource(javax.xml.transform.stream.StreamSource in)
Create an
ActiveStreamSource wrapping a supplied StreamSource |
| Modifier and Type | Method and Description |
|---|---|
void |
deliver(Receiver receiver,
ParseOptions options)
Deliver the content of the source to a supplied Receiver
|
getInputStream, getPublicId, getReader, getSystemId, setInputStream, setPublicId, setReader, setSystemId, setSystemIdpublic ActiveStreamSource(javax.xml.transform.stream.StreamSource in)
ActiveStreamSource wrapping a supplied StreamSourcein - the supplied StreamSourcepublic void deliver(Receiver receiver, ParseOptions options) throws XPathException
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.