Class XppDriver

    • Field Detail

      • factory

        private static org.xmlpull.v1.XmlPullParserFactory factory
    • Method Detail

      • createDefaultParser

        public static org.xmlpull.v1.XmlPullParser createDefaultParser()
                                                                throws org.xmlpull.v1.XmlPullParserException
        Create a default XML Pull Parser. The method uses the Java Service API to get the registered XmlPullParserFactory and let it create a new parser.
        Returns:
        a new instance of an XML Pull Parser
        Throws:
        org.xmlpull.v1.XmlPullParserException - if the creation of a new parser fails.
        Since:
        1.4.11
      • createParser

        protected org.xmlpull.v1.XmlPullParser createParser()
                                                     throws org.xmlpull.v1.XmlPullParserException
        Description copied from class: AbstractXppDriver
        Create the parser of the XPP implementation.
        Specified by:
        createParser in class AbstractXppDriver
        Throws:
        org.xmlpull.v1.XmlPullParserException - if the parser cannot be created