API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.xml.sax. InputSource View Source
Author(s)
David Megginson
Since
SAX 1.0
Version
2.0.1 (sax2r2)
Serial
Hierarchy
 Object
      InputSource
Implements
Subclasses
Description
public class InputSource
  A single input source for an XML entity.
Constructors
public InputSource ()
  Zero-argument default constructor.
public InputSource (InputStream byteStream)
  Create a new input source with a byte stream.
public InputSource (Reader characterStream)
  Create a new input source with a character stream.
public InputSource (String systemId)
  Create a new input source with a system identifier.
Methods
Hide/Show inherited methods
public InputStream getByteStream ()
  Get the byte stream for this input source.
public Reader getCharacterStream ()
  Get the character stream for this input source.
public String getEncoding ()
  Get the character encoding for a byte stream or URI.
public String getPublicId ()
  Get the public identifier for this input source.
public String getSystemId ()
  Get the system identifier for this input source.
public void setByteStream (InputStream byteStream)
  Set the byte stream for this input source.
public void setCharacterStream (Reader characterStream)
  Set the character stream for this input source.
public void setEncoding (String encoding)
  Set the character encoding, if known.
public void setPublicId (String publicId)
  Set the public identifier for this input source.
public void setSystemId (String systemId)
  Set the system identifier for this input source.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar