Package net.sf.saxon.event
Class Sender
java.lang.Object
net.sf.saxon.event.Sender
Sender is a helper class that sends events to a Receiver from any kind of Source object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
configureParser
(XMLReader parser) Configure a SAX parser to ensure it has the correct namesapce properties setvoid
Send the contents of a Source to a Receiver.void
Send the contents of a Source to a Receiver.
-
Field Details
-
pipe
-
-
Constructor Details
-
Sender
-
-
Method Details
-
send
Send the contents of a Source to a Receiver. Note that if the Source identifies an element node rather than a document node, only the subtree rooted at that element will be copied.- Parameters:
source
- the document or element to be copiedreceiver
- the destination to which it is to be copied- Throws:
XPathException
-
send
Send the contents of a Source to a Receiver. Note that if the Source identifies an element node rather than a document node, only the subtree rooted at that element will be copied.- Parameters:
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.- Throws:
XPathException
-
configureParser
Configure a SAX parser to ensure it has the correct namesapce properties set- Throws:
DynamicError
-