|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.icl.saxon.trax.Result
Acts as an holder for result tree specifications.
This class is modeled after the SAX InputSource class, except that it is for the Result target, and in addition to streams, and writers, it also can specify a DOM node to which nodes will be appended.
Constructor Summary | |
Result()
Zero-argument default constructor. |
|
Result(org.w3c.dom.Node n)
Create a new output target with a character stream. |
|
Result(java.io.OutputStream byteStream)
Create a new output target with a byte stream. |
|
Result(java.io.Writer characterStream)
Create a new output target with a character stream. |
Method Summary | |
java.io.OutputStream |
getByteStream()
Get the byte stream for this output target. |
java.io.Writer |
getCharacterStream()
Get the character stream for this output target. |
org.w3c.dom.Node |
getNode()
Get the node that will contain the result nodes. |
void |
setByteStream(java.io.OutputStream byteStream)
Set the byte stream for this output target. |
void |
setCharacterStream(java.io.Writer characterStream)
Set the character stream for this output target. |
void |
setNode(org.w3c.dom.Node node)
Set the node that will contain the result nodes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Result()
public Result(java.io.OutputStream byteStream)
byteStream
- The raw byte stream that will contain the document.public Result(java.io.Writer characterStream)
characterStream
- The character stream where the results will be written.public Result(org.w3c.dom.Node n)
characterStream
- The character stream where the results will be written.Method Detail |
public void setByteStream(java.io.OutputStream byteStream)
byteStream
- A byte stream that will contain the result document.public java.io.OutputStream getByteStream()
public void setCharacterStream(java.io.Writer characterStream)
characterStream
- The character stream that will contain
the result document.public java.io.Writer getCharacterStream()
public void setNode(org.w3c.dom.Node node)
public org.w3c.dom.Node getNode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |