to top
Android APIs
public interface

XmlResourceParser

implements AttributeSet AutoCloseable XmlPullParser
android.content.res.XmlResourceParser

Class Overview

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.

Summary

[Expand]
Inherited Constants
From interface org.xmlpull.v1.XmlPullParser
[Expand]
Inherited Fields
From interface org.xmlpull.v1.XmlPullParser
Public Methods
abstract void close()
Close this interface to the resource.
[Expand]
Inherited Methods
From interface android.util.AttributeSet
From interface java.lang.AutoCloseable
From interface org.xmlpull.v1.XmlPullParser

Public Methods

public abstract void close ()

Added in API level 1

Close this interface to the resource. Calls on the interface are no longer value after this call.