to top
public abstract class

AbstractXmlParser

extends Object
java.lang.Object
   ↳ com.android.tradefed.util.xml.AbstractXmlParser
Known Direct Subclasses

Class Overview

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 DefaultHandler to process the xml
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AbstractXmlParser ()

Public Methods

public void parse (InputStream xmlInput)

Parses out xml data contained in given input.

Throws
AbstractXmlParser.ParseException if input could not be parsed

Protected Methods

protected abstract DefaultHandler createXmlHandler ()

Creates a DefaultHandler to process the xml