public interface ActiveSource
extends javax.xml.transform.Source
Modifier and Type | Method and Description |
---|---|
void |
deliver(Receiver receiver,
ParseOptions options)
Deliver the content of the source to a supplied Receiver.
|
void deliver(Receiver receiver, ParseOptions options) throws XPathException
For many (but not all) implementations of Source
, this method consumes
the source and can therefore only be called once.
receiver
- 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.