net.sf.saxon.event

Class DocumentSender

public class DocumentSender extends Object implements SaxonLocator

Sends an entire document to a Receiver.

Author: Ruud Diterwich, integrated by Michael Kay

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
intgetColumnNumber()
intgetColumnNumber(long locationId)
intgetLineNumber()
intgetLineNumber(long locationId)
StringgetPublicId()
StringgetSystemId()
StringgetSystemId(long locationId)
voidsend(Receiver receiver)
Send the entire document to the receiver

Constructor Detail

DocumentSender

public DocumentSender(NodeInfo top)
Create a DocumentSender, which takes an input document tree and generates a stream of events for a Receiver

Parameters: top the document or element node to be turned into a stream of events

Method Detail

getColumnNumber

public int getColumnNumber()

getColumnNumber

public int getColumnNumber(long locationId)

getLineNumber

public int getLineNumber()

getLineNumber

public int getLineNumber(long locationId)

getPublicId

public String getPublicId()

getSystemId

public String getSystemId()

getSystemId

public String getSystemId(long locationId)

send

public void send(Receiver receiver)
Send the entire document to the receiver