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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-03-08 UTC."],[],[]]