FileDocCategorySizeDatePackage
Xml_Delegate.javaAPI DocAndroid 5.1 API1790Thu Mar 12 22:22:44 GMT 2015android.util

Xml_Delegate

public class Xml_Delegate extends Object
Delegate overriding some methods of android.util.Xml Through the layoutlib_create tool, the original methods of Xml have been replaced by calls to methods of the same name in this delegate class. Because it's a stateless class to start with, there's no need to keep a {@link DelegateManager} around to map int to instance of the delegate.

Fields Summary
Constructors Summary
Methods Summary
static org.xmlpull.v1.XmlPullParsernewPullParser()

        try {
            KXmlParser parser = new KXmlParser();
            // The prebuilt kxml2 library with the IDE doesn't support DOCECL.
//            parser.setFeature(XmlPullParser.FEATURE_PROCESS_DOCDECL, true);
            parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, true);
            return parser;
        } catch (XmlPullParserException e) {
            throw new AssertionError();
        }