Loading core/java/android/content/res/XmlResourceParser.java +6 −7 Original line number Diff line number Diff line Loading @@ -16,20 +16,19 @@ package android.content.res; import org.xmlpull.v1.XmlPullParser; import android.util.AttributeSet; import org.xmlpull.v1.XmlPullParser; /** * The XML parsing interface returned for an XML resource. This is a standard * XmlPullParser interface, as well as an extended AttributeSet interface and * an additional close() method on this interface for the client to indicate * when it is done reading the resource. * {@link XmlPullParser} interface but also extends {@link AttributeSet} and * adds an additional {@link #close()} method for the client to indicate when * it is done reading the resource. */ public interface XmlResourceParser extends XmlPullParser, AttributeSet, AutoCloseable { /** * Close this interface to the resource. Calls on the interface are no * longer value after this call. * Close this parser. Calls on the interface are no longer valid after this call. */ public void close(); } Loading Loading
core/java/android/content/res/XmlResourceParser.java +6 −7 Original line number Diff line number Diff line Loading @@ -16,20 +16,19 @@ package android.content.res; import org.xmlpull.v1.XmlPullParser; import android.util.AttributeSet; import org.xmlpull.v1.XmlPullParser; /** * The XML parsing interface returned for an XML resource. This is a standard * XmlPullParser interface, as well as an extended AttributeSet interface and * an additional close() method on this interface for the client to indicate * when it is done reading the resource. * {@link XmlPullParser} interface but also extends {@link AttributeSet} and * adds an additional {@link #close()} method for the client to indicate when * it is done reading the resource. */ public interface XmlResourceParser extends XmlPullParser, AttributeSet, AutoCloseable { /** * Close this interface to the resource. Calls on the interface are no * longer value after this call. * Close this parser. Calls on the interface are no longer valid after this call. */ public void close(); } Loading