| java.lang.Object java.beans.XMLDecoder
XMLDecoder | public class XMLDecoder (Code) | | XMLDecoder reads objects from xml created by
XMLEncoder .
The API is similar to ObjectInputStream .
|
XMLDecoder | public XMLDecoder(InputStream inputStream)(Code) | | Create a decoder to read from specified input stream.
Parameters: inputStream - an input stream of xml |
XMLDecoder | public XMLDecoder(InputStream inputStream, Object owner)(Code) | | Create a decoder to read from specified input stream.
Parameters: inputStream - an input stream of xml Parameters: owner - the owner of this decoder |
XMLDecoder | public XMLDecoder(InputStream inputStream, Object owner, ExceptionListener listener)(Code) | | Create a decoder to read from specified input stream.
Parameters: inputStream - an input stream of xml Parameters: owner - the owner of this decoder Parameters: listener - listen to the exceptions thrown by the decoder |
close | public void close()(Code) | | Close the input stream of xml data.
|
getExceptionListener | public ExceptionListener getExceptionListener()(Code) | | Returns the exception listener.
the exception listener |
getOwner | public Object getOwner()(Code) | | Returns the owner of this decoder.
the owner of this decoder |
setExceptionListener | public void setExceptionListener(ExceptionListener listener)(Code) | | Sets the exception listener.
Parameters: listener - an exception listener |
setOwner | public void setOwner(Object owner)(Code) | | Sets the owner of this decoder.
Parameters: owner - the owner of this decoder |
|
|