public class DocumentSender extends Object implements SaxonLocator
Constructor and Description |
---|
DocumentSender(NodeInfo top)
Create a DocumentSender, which takes an input document tree and generates
a stream of events for a Receiver
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber() |
int |
getLineNumber() |
int |
getLineNumber(int locationId) |
String |
getPublicId() |
String |
getSystemId() |
String |
getSystemId(int locationId) |
void |
send(Receiver receiver)
Send the entire document to the receiver
|
public DocumentSender(NodeInfo top)
top
- the document or element node to be turned into a stream of eventspublic void send(Receiver receiver) throws XPathException
XPathException
public 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