StreamResult

public class StreamResult extends Object
implements Result

Acts as an holder for a transformation result, which may be XML, plain Text, HTML, or some other form of markup.

Constant Summary

String FEATURE If getFeature(String) returns true when passed this value as an argument, the Transformer supports Result output of this type.

Inherited Constant Summary

Public Constructor Summary

StreamResult()
Zero-argument default 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.

Public Method Summary