public class Sender
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
(package private) PipelineConfiguration |
pipe |
Constructor | Description |
---|---|
Sender(PipelineConfiguration pipe) |
Modifier and Type | Method | Description |
---|---|---|
static void |
configureParser(org.xml.sax.XMLReader parser) |
Configure a SAX parser to ensure it has the correct namesapce properties set
|
void |
send(javax.xml.transform.Source source,
Receiver receiver) |
Send the contents of a Source to a Receiver.
|
void |
send(javax.xml.transform.Source source,
Receiver receiver,
boolean isFinal) |
Send the contents of a Source to a Receiver.
|
PipelineConfiguration pipe
public Sender(PipelineConfiguration pipe)
public void send(javax.xml.transform.Source source, Receiver receiver) throws XPathException
source
- the document or element to be copiedreceiver
- the destination to which it is to be copiedXPathException
public void send(javax.xml.transform.Source source, Receiver receiver, boolean isFinal) throws XPathException
source
- the document or element to be copiedreceiver
- the destination to which it is to be copiedisFinal
- set to true when the document is being processed purely for the
sake of validation, in which case multiple validation errors in the source can be
reported.XPathException
public static void configureParser(org.xml.sax.XMLReader parser) throws DynamicError
DynamicError