| java.lang.Object | |
| ↳ | android.util.Xml | 
XML utility methods.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Xml.Encoding | Supported character encodings. | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| FEATURE_RELAXED | XmlPullParser "relaxed" feature name. | 
      ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return an AttributeSet interface for use with the given XmlPullParser. 
  
   | |||||||||||
Finds an encoding by name. 
  
   | |||||||||||
Returns a new pull parser with namespace support. 
  
   | |||||||||||
Creates a new xml serializer. 
  
   | |||||||||||
Parses the given xml string and fires events on the given SAX handler. 
  
   | |||||||||||
Parses xml from the given input stream and fires events on the given SAX
 handler. 
  
   | |||||||||||
Parses xml from the given reader and fires events on the given SAX
 handler. 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
XmlPullParser "relaxed" feature name.
Return an AttributeSet interface for use with the given XmlPullParser. If the given parser itself implements AttributeSet, that implementation is simply returned. Otherwise a wrapper class is instantiated on top of the XmlPullParser, as a proxy for retrieving its attributes, and returned to you.
| parser | The existing parser for which you would like an AttributeSet. | 
|---|
Finds an encoding by name. Returns UTF-8 if you pass null.
| UnsupportedEncodingException | 
|---|
Returns a new pull parser with namespace support.
Parses the given xml string and fires events on the given SAX handler.
| SAXException | 
|---|
Parses xml from the given input stream and fires events on the given SAX handler.
| IOException | |
|---|---|
| SAXException | 
Parses xml from the given reader and fires events on the given SAX handler.
| IOException | |
|---|---|
| SAXException |