android.util
Class Xml
java.lang.Object
android.util.Xml
public class Xml
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FEATURE_RELAXED
public static String FEATURE_RELAXED
parse
public static void parse(String xml,
ContentHandler contentHandler)
throws SAXException
- Throws:
SAXException
parse
public static void parse(Reader in,
ContentHandler contentHandler)
throws IOException,
SAXException
- Throws:
IOException
SAXException
parse
public static void parse(InputStream in,
Xml.Encoding encoding,
ContentHandler contentHandler)
throws IOException,
SAXException
- Throws:
IOException
SAXException
newPullParser
public static org.xmlpull.v1.XmlPullParser newPullParser()
newSerializer
public static org.xmlpull.v1.XmlSerializer newSerializer()
findEncodingByName
public static Xml.Encoding findEncodingByName(String encodingName)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
asAttributeSet
public static AttributeSet asAttributeSet(org.xmlpull.v1.XmlPullParser parser)
Copyright © 2008-2012. All Rights Reserved.