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()
intgetLineNumber()
intgetLineNumber(int locationId)
StringgetPublicId()
StringgetSystemId()
StringgetSystemId(int 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()

getLineNumber

public int getLineNumber()

getLineNumber

public int getLineNumber(int locationId)

getPublicId

public String getPublicId()

getSystemId

public String getSystemId()

getSystemId

public String getSystemId(int locationId)

send

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