javax.xml.transform.stream
public class StreamResult extends Object implements Result
Field Summary | |
---|---|
static String | FEATURE
Factory feature indicating that stream results are supported. |
Constructor Summary | |
---|---|
StreamResult()
Default constructor. | |
StreamResult(OutputStream stream)
Constructor with an output stream. | |
StreamResult(Writer writer)
Constructor with a writer.
| |
StreamResult(String systemID)
Constructor with a system ID. | |
StreamResult(File file)
Constructor with a system ID specified as a File object. |
Method Summary | |
---|---|
OutputStream | getOutputStream()
Returns the target output stream. |
String | getSystemId()
Returns the system ID. |
Writer | getWriter()
Returns the target writer. |
void | setOutputStream(OutputStream outputStream)
Sets the target output stream. |
void | setSystemId(String systemID)
Sets the system ID.
|
void | setSystemId(File f)
Sets the system ID from a File reference. |
void | setWriter(Writer writer)
Sets the target writer.
|