|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.event.DocumentSender
public class DocumentSender
Sends an entire document to a Receiver.
Constructor Summary | |
---|---|
DocumentSender(NodeInfo top)
Create a DocumentSender, which takes an input document tree and generates a stream of events for a Receiver |
Method Summary | |
---|---|
int |
getColumnNumber()
|
int |
getLineNumber()
|
int |
getLineNumber(long locationId)
Get the line number within the document or module containing a particular location |
String |
getPublicId()
|
String |
getSystemId()
|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentSender(NodeInfo top)
top
- the document or element node to be turned into a stream of eventsMethod Detail |
---|
public 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(long locationId)
LocationProvider
getSystemId
in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)
public int getLineNumber(long locationId)
LocationProvider
getLineNumber
in interface LocationProvider
locationId
- identifier of the location in question (as passed down the Receiver pipeline)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |