net.sf.saxon.event
Class DocumentSender
java.lang.Object
net.sf.saxon.event.DocumentSender
- Locator, LocationProvider, SaxonLocator, SourceLocator
public class DocumentSender
extends java.lang.Object
Sends an entire document to a Receiver.
- Ruud Diterwich, integrated by Michael Kay
DocumentSender(NodeInfo top) - Create a DocumentSender, which takes an input document tree and generates
a stream of events for a Receiver
|
DocumentSender
public DocumentSender(NodeInfo top)
Create a DocumentSender, which takes an input document tree and generates
a stream of events for a Receiver
top
- the document or element node to be turned into a stream of events
getColumnNumber
public int getColumnNumber()
getLineNumber
public int getLineNumber()
getLineNumber
public int getLineNumber(long locationId)
Get the line number within the document or module containing a particular location
- getLineNumber in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)
- the line number within the document or module.
getPublicId
public String getPublicId()
getSystemId
public String getSystemId()
getSystemId
public String getSystemId(long locationId)
Get the URI of the document or module containing a particular location
- getSystemId in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)
- the URI of the document or module.