Package | Description |
---|---|
java.beans |
Contains classes related to developing
beans -- components
based on the JavaBeans™ architecture.
|
Modifier and Type | Method and Description |
---|---|
ExceptionListener |
XMLDecoder.getExceptionListener()
Gets the exception handler for this stream.
|
ExceptionListener |
Encoder.getExceptionListener()
Gets the exception handler for this stream.
|
Modifier and Type | Method and Description |
---|---|
static DefaultHandler |
XMLDecoder.createHandler(Object owner,
ExceptionListener el,
ClassLoader cl)
Creates a new handler for SAX parser
that can be used to parse embedded XML archives
created by the
XMLEncoder class. |
void |
XMLDecoder.setExceptionListener(ExceptionListener exceptionListener)
Sets the exception handler for this stream to
exceptionListener . |
void |
Encoder.setExceptionListener(ExceptionListener exceptionListener)
Sets the exception handler for this stream to
exceptionListener . |
Constructor and Description |
---|
XMLDecoder(InputStream in,
Object owner,
ExceptionListener exceptionListener)
Creates a new input stream for reading archives
created by the
XMLEncoder class. |
XMLDecoder(InputStream in,
Object owner,
ExceptionListener exceptionListener,
ClassLoader cl)
Creates a new input stream for reading archives
created by the
XMLEncoder class. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.