net.sf.saxon.dom
Class DOMSender
java.lang.Object
net.sf.saxon.dom.DOMSender
- Locator, LocationProvider, SaxonLocator, SourceLocator, SourceLocationProvider
public class DOMSender
extends java.lang.Object
DOMSender.java: pseudo-SAX driver for a DOM source document.
This class takes an existing
DOM Document and walks around it in a depth-first traversal,
calling a Receiver to process the nodes as it does so
systemId
protected String systemId
getColumnNumber
public int getColumnNumber()
getLineNumber
public int getLineNumber()
getPublicId
public String getPublicId()
getSystemId
public String getSystemId()
send
public void send()
throws XPathException
Walk a document (traversing the nodes depth first)
setPipelineConfiguration
public void setPipelineConfiguration(PipelineConfiguration pipe)
Set the pipeline configuration
pipe
- the pipeline configuration
setReceiver
public void setReceiver(Receiver receiver)
Set the receiver.
receiver
- The object to receive content events.
setStartNode
public void setStartNode(Node start)
Set the DOM Document that will be walked
start
- the root node from which the tree walk will start
setSystemId
public void setSystemId(String systemId)
Set the systemId of the source document (which will also be
used for the destination)
systemId
- the systemId of the source document