|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.event.EventSource
public abstract class EventSource
An implementation of the JAXP Source class that supplies a document in the form of a stream of push events sent to a Receiver
| Constructor Summary | |
|---|---|
EventSource()
|
|
| Method Summary | |
|---|---|
String |
getSystemId()
Get the system identifier that was set with setSystemId. |
abstract void |
send(Receiver out)
Supply events to a Receiver. |
void |
setSystemId(String systemId)
Set the system identifier for this Source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventSource()
| Method Detail |
|---|
public void setSystemId(String systemId)
The system identifier is optional if the source does not get its data from a URL, but it may still be useful to provide one. The application can use a system identifier, for example, to resolve relative URIs and to include in error messages and warnings.
setSystemId in interface SourcesystemId - The system identifier as a URL string.public String getSystemId()
getSystemId in interface Source
public abstract void send(Receiver out)
throws XPathException
out - the Receiver to which events will be sent. It is the caller's responsibility
to initialize the receiver with a PipelineConfiguration, and to call the open() and close()
methods on the receiver before and after calling this send() method.
XPathException - if any error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||