@@ -58,11 +58,11 @@ * * @since 1.4 * * @author Philip Milne */ -public class XMLDecoder { +public class XMLDecoder implements AutoCloseable { private final DocumentHandler handler = new DocumentHandler(); private final InputSource input; private Object owner; private Object[] array; private int index;