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

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

Introduction

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

The text is from its open source code.

Subclass

javax.xml.transform.stream.StreamSource has subclasses.
Click this link to see all its subclasses.

Field

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

Constructor

StreamSource(InputStream inputStream)
Construct a StreamSource from a byte stream.
StreamSource(Reader reader)
Construct a StreamSource from a character reader.
StreamSource(String systemId)
Construct a StreamSource from a URL.
StreamSource(File f)
Construct a StreamSource from a File.
StreamSource()

Zero-argument default constructor.

StreamSource(InputStream inputStream, String systemId)
Construct a StreamSource from a byte stream.
StreamSource(Reader reader, String systemId)
Construct a StreamSource from a character reader.

Method

InputStreamgetInputStream()
Get the byte stream that was set with setByteStream.
StringgetPublicId()
Get the public identifier that was set with setPublicId.
ReadergetReader()
Get the character stream that was set with setReader.
StringgetSystemId()
Get the system identifier that was set with setSystemId.
voidsetInputStream(InputStream inputStream)
Set the byte stream to be used as input.
voidsetPublicId(String publicId)
Set the public identifier for this Source.
voidsetReader(Reader reader)
Set the input to be a character reader.
voidsetSystemId(String systemId)
Set the system identifier for this Source.
voidsetSystemId(File f)
Set the system ID from a File reference.
StringtoString()
Returns a string representation of the object.