robofab.plistFromTree
index
/code/projects/robofab/Lib/robofab/plistFromTree.py

Small helper module to parse Plist-formatted data from trees as created
by xmlTreeBuilder.

 
Classes
       
robofab.plistlib.PlistParser
PlistTreeParser

 
class PlistTreeParser(robofab.plistlib.PlistParser)
     Methods defined here:
parseElement(self, element, attributes, children)
parseTree(self, tree)

Methods inherited from robofab.plistlib.PlistParser:
__init__(self)
addObject(self, value)
begin_array(self, attrs)
begin_dict(self, attrs)
end_array(self)
end_data(self)
end_date(self)
end_dict(self)
end_false(self)
end_integer(self)
end_key(self)
end_real(self)
end_string(self)
end_true(self)
getData(self)
handleBeginElement(self, element, attrs)
handleData(self, data)
handleEndElement(self, element)
parse(self, fileobj)

 
Functions
       
readPlistFromTree(tree)
Given a (sub)tree created by xmlTreeBuilder, interpret it
as Plist-formatted data, and return the root object.

 
Data
        __all__ = 'readPlistFromTree'