AbstractXmlParser
public
abstract
class
AbstractXmlParser
extends Object
java.lang.Object | |
↳ | com.android.tradefed.util.xml.AbstractXmlParser |
Helper base class for parsing xml files
Summary
Nested classes | |
---|---|
class |
AbstractXmlParser.ParseException
Thrown if XML input could not be parsed |
Public constructors | |
---|---|
AbstractXmlParser()
|
Public methods | |
---|---|
void
|
parse(InputStream xmlInput)
Parses out xml data contained in given input. |
Protected methods | |
---|---|
abstract
DefaultHandler
|
createXmlHandler()
Creates a |
Public constructors
AbstractXmlParser
public AbstractXmlParser ()
Public methods
parse
public void parse (InputStream xmlInput)
Parses out xml data contained in given input.
Throws | |
---|---|
AbstractXmlParser.ParseException |
if input could not be parsed |
Protected methods
createXmlHandler
protected abstract DefaultHandler createXmlHandler ()
Creates a ERROR(/DefaultHandler)
to process the xml
Returns | |
---|---|
DefaultHandler |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-03-08 UTC.
[null,null,["Last updated 2023-03-08 UTC."],[],[]]