Java javax.xml.transform.stream StreamResult fields, constructors, methods, implement or subclass

Example usage for Java javax.xml.transform.stream StreamResult fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.xml.transform.stream StreamResult.

The text is from its open source code.

Field

StringFEATURE
If javax.xml.transform.TransformerFactory#getFeature returns true when passed this value as an argument, the Transformer supports Result output of this type.

Constructor

StreamResult(OutputStream outputStream)
Construct a StreamResult from a byte stream.
StreamResult(Writer writer)
Construct a StreamResult from a character stream.
StreamResult(String systemId)
Construct a StreamResult from a URL.
StreamResult(File f)
Construct a StreamResult from a File.
StreamResult()
Zero-argument default constructor.

Method

OutputStreamgetOutputStream()
Get the byte stream that was set with setOutputStream.
StringgetSystemId()
Get the system identifier that was set with setSystemId.
WritergetWriter()
Get the character stream that was set with setWriter.
voidsetOutputStream(OutputStream outputStream)
Set the ByteStream that is to be written to.
voidsetSystemId(String systemId)
Set the systemID that may be used in association with the byte or character stream, or, if neither is set, use this value as a writeable URI (probably a file name).
voidsetSystemId(File f)

Set the system ID from a File reference.

voidsetWriter(Writer writer)
Set the writer that is to receive the result.
StringtoString()
Returns a string representation of the object.