API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans. XMLDecoder View Source
Author(s)
Philip Milne
Since
1.4
Version
1.32 11/30/05
Serial
Hierarchy
 Object
      XMLDecoder
Implements
Subclasses
Description
public class XMLDecoder
  The XMLDecoder class is used to read XML documents created using the XMLEncoder and is used just like the ObjectInputStream.
See also:    XMLEncoder ObjectInputStream
Constructors
public XMLDecoder (InputStream in)
  Creates a new input stream for reading archives created by the XMLEncoder class.
public XMLDecoder (InputStream in, Object owner)
  Creates a new input stream for reading archives created by the XMLEncoder class.
public XMLDecoder (InputStream in, Object owner, ExceptionListener exceptionListener)
  Creates a new input stream for reading archives created by the XMLEncoder class.
public XMLDecoder (InputStream in, Object owner, ExceptionListener exceptionListener, ClassLoader cl)
  Creates a new input stream for reading archives created by the XMLEncoder class.
Methods
Hide/Show inherited methods
public void close ()
This method closes the input stream associated with this stream.
public ExceptionListener getExceptionListener ()
  Gets the exception handler for this stream.
public Object getOwner ()
  Gets the owner of this decoder.
public Object readObject ()
  Reads the next object from the underlying input stream.
public void setExceptionListener (ExceptionListener exceptionListener)
  Sets the exception handler for this stream to exceptionListener.
public void setOwner (Object owner)
  Sets the owner of this decoder to owner.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar