fplutil
An open source project by FPL.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
fplutil.buildutil.android.XMLFile Class Reference

XML file base class factored for testability. More...

Inheritance diagram for fplutil.buildutil.android.XMLFile:
fplutil.buildutil.android.AndroidManifest fplutil.buildutil.android.BuildXml

Public Member Functions

def parse
 Parse the XML file and extract useful information. More...
 

Public Attributes

 path
 Path to XML file as set in initializer. More...
 

Detailed Description

XML file base class factored for testability.

Subclasses implement process(self, etree) to process the parsed XML. On error, they should raise common.ConfigurationError.

Member Function Documentation

def fplutil.buildutil.android.XMLFile.parse (   self)

Parse the XML file and extract useful information.

Exceptions
ConfigurationErrorElements were missing or incorrect in the file.
IOErrorCould not open XML file.

Member Data Documentation

fplutil.buildutil.android.XMLFile.path

Path to XML file as set in initializer.


The documentation for this class was generated from the following file: