|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.event.Sender
public class Sender
Sender is a helper class that sends events to a Receiver from any kind of Source object
Constructor Summary | |
---|---|
Sender(PipelineConfiguration pipe)
Create a Sender |
Method Summary | |
---|---|
static void |
configureParser(XMLReader parser)
Configure a SAX parser to ensure it has the correct namesapce properties set |
void |
send(Source source,
Receiver receiver)
Send the contents of a Source to a Receiver. |
void |
send(Source source,
Receiver receiver,
boolean isFinal)
Send the contents of a Source to a Receiver. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sender(PipelineConfiguration pipe)
pipe
- the pipeline configurationMethod Detail |
---|
public void send(Source source, Receiver receiver) throws XPathException
source
- the document or element to be copiedreceiver
- the destination to which it is to be copied
XPathException
public void send(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(XMLReader parser) throws XPathException
parser
- the parser to be configured
XPathException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |