API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.transform.stream. StreamSource View Source
Author(s)
Jeff Suttor
Since
Version
$Revision: 1.4 $, $Date: 2005/11/03 19:34:27 $
Serial
Hierarchy
 Object
      StreamSource
Implements
 Source
Subclasses
Description
public class StreamSource
  Acts as an holder for a transformation Source in the form of a stream of XML markup.
See also:   
Constructors
public StreamSource ()
  Zero-argument default constructor.
public StreamSource (File f)
  Construct a StreamSource from a File.
public StreamSource (InputStream inputStream)
  Construct a StreamSource from a byte stream.
public StreamSource (InputStream inputStream, String systemId)
  Construct a StreamSource from a byte stream.
public StreamSource (Reader reader)
  Construct a StreamSource from a character reader.
public StreamSource (Reader reader, String systemId)
  Construct a StreamSource from a character reader.
public StreamSource (String systemId)
  Construct a StreamSource from a URL.
Methods
Hide/Show inherited methods
public InputStream getInputStream ()
  Get the byte stream that was set with setByteStream.
public String getPublicId ()
  Get the public identifier that was set with setPublicId.
public Reader getReader ()
  Get the character stream that was set with setReader.
public String getSystemId () [Specified in Source]
  Get the system identifier that was set with setSystemId.
public void setInputStream (InputStream inputStream)
  Set the byte stream to be used as input.
public void setPublicId (String publicId)
  Set the public identifier for this Source.
public void setReader (Reader reader)
  Set the input to be a character reader.
public void setSystemId (File f)
  Set the system ID from a File reference.
public void setSystemId (String systemId) [Specified in Source]
  Set the system identifier for this Source.
Fields
Hide/Show inherited fields
publicfinalstatic String FEATURE = "http://javax.xml.transform.stream.StreamSource/feature"
If TransformerFactory.getFeature(java.lang.String) returns true when passed this value as an argument, the Transformer supports Source input of this type.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar