|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.xml.transform.stream.StreamResult
public class StreamResult
Specifies a stream to which to write the transformation result.
| Field Summary | |
|---|---|
static String |
FEATURE
Factory feature indicating that stream results are supported. |
| Fields inherited from interface javax.xml.transform.Result |
|---|
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
| Constructor Summary | |
|---|---|
StreamResult()
Default constructor. |
|
StreamResult(File file)
Constructor with a system ID specified as a File object. |
|
StreamResult(OutputStream stream)
Constructor with an output stream. |
|
StreamResult(String systemID)
Constructor with a system ID. |
|
StreamResult(Writer writer)
Constructor with a writer. |
|
| 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(File f)
Sets the system ID from a File reference. |
void |
setSystemId(String systemID)
Sets the system ID. |
void |
setWriter(Writer writer)
Sets the target writer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FEATURE
| Constructor Detail |
|---|
public StreamResult()
public StreamResult(OutputStream stream)
public StreamResult(Writer writer)
public StreamResult(String systemID)
public StreamResult(File file)
| Method Detail |
|---|
public void setOutputStream(OutputStream outputStream)
public OutputStream getOutputStream()
public void setWriter(Writer writer)
public Writer getWriter()
public void setSystemId(String systemID)
setSystemId in interface ResultsystemID - the system ID URIpublic void setSystemId(File f)
public String getSystemId()
getSystemId in interface Result
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||