src/share/classes/java/beans/XMLDecoder.java
Print this page
*** 58,68 ****
*
* @since 1.4
*
* @author Philip Milne
*/
! public class XMLDecoder {
private final DocumentHandler handler = new DocumentHandler();
private final InputSource input;
private Object owner;
private Object[] array;
private int index;
--- 58,68 ----
*
* @since 1.4
*
* @author Philip Milne
*/
! public class XMLDecoder implements AutoCloseable {
private final DocumentHandler handler = new DocumentHandler();
private final InputSource input;
private Object owner;
private Object[] array;
private int index;