public class DOMSender extends Object implements SaxonLocator
Modifier and Type | Field and Description |
---|---|
protected Node |
root |
protected String |
systemId |
Constructor and Description |
---|
DOMSender() |
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber() |
int |
getLineNumber() |
int |
getLineNumber(int locationId) |
String |
getPublicId() |
String |
getSystemId() |
String |
getSystemId(int locationId) |
void |
send()
Walk a document (traversing the nodes depth first)
|
void |
setPipelineConfiguration(PipelineConfiguration pipe)
Set the pipeline configuration
|
void |
setReceiver(Receiver receiver)
Set the receiver.
|
void |
setStartNode(Node start)
Set the DOM Document that will be walked
|
void |
setSystemId(String systemId)
Set the systemId of the source document (which will also be
used for the destination)
|
public void setPipelineConfiguration(PipelineConfiguration pipe)
public void setReceiver(Receiver receiver)
receiver
- The object to receive content events.public void setStartNode(Node start)
public void setSystemId(String systemId)
public void send() throws XPathException
XPathException
- On any error in the documentpublic int getColumnNumber()
getColumnNumber
in interface SourceLocator
getColumnNumber
in interface Locator
public int getLineNumber()
getLineNumber
in interface SourceLocator
getLineNumber
in interface Locator
public String getPublicId()
getPublicId
in interface SourceLocator
getPublicId
in interface Locator
public String getSystemId()
getSystemId
in interface SourceLocator
getSystemId
in interface Locator
public String getSystemId(int locationId)
getSystemId
in interface LocationProvider
public int getLineNumber(int locationId)
getLineNumber
in interface LocationProvider