public class DocumentSender extends java.lang.Object implements SaxonLocator
?????? |
---|
DocumentSender(NodeInfo top)
Create a DocumentSender, which takes an input document tree and generates
a stream of events for a Receiver
|
?????? | ????? |
---|---|
int |
getColumnNumber() |
int |
getColumnNumber(long locationId)
Get the column number within the document or module containing a particular location
|
int |
getLineNumber() |
int |
getLineNumber(long locationId)
Get the line number within the document or module containing a particular location
|
java.lang.String |
getPublicId() |
java.lang.String |
getSystemId() |
java.lang.String |
getSystemId(long locationId)
Get the URI of the document or module containing a particular location
|
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
???? javax.xml.transform.SourceLocator
getColumnNumber
???? org.xml.sax.Locator
public int getLineNumber()
getLineNumber
???? javax.xml.transform.SourceLocator
getLineNumber
???? org.xml.sax.Locator
public java.lang.String getPublicId()
getPublicId
???? javax.xml.transform.SourceLocator
getPublicId
???? org.xml.sax.Locator
public java.lang.String getSystemId()
getSystemId
???? javax.xml.transform.SourceLocator
getSystemId
???? org.xml.sax.Locator
public java.lang.String getSystemId(long locationId)
LocationProvider
getSystemId
???? LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)public int getLineNumber(long locationId)
LocationProvider
getLineNumber
???? LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)public int getColumnNumber(long locationId)
LocationProvider
getColumnNumber
???? LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)