Package library :: Package pyjamas :: Package builder :: Module XMLFile :: Class XMLFile
[hide private]
[frames] | no frames]

Class XMLFile

source code

object --+
         |
        XMLFile

Instance Methods [hide private]
 
__init__(self, lines)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
error(self, msg) source code
 
parseValue(self, v, unpackStr=False) source code
 
getAttrs(self, line) source code
 
getTag(self, line, requiredTags=None) source code
 
getTagClose(self, line, tag=None) source code
 
currentLine(self) source code
 
nextLine(self) source code
 
isTagClose(self, tagName) source code
 
nextTag(self, requiredTags) source code
 
parse(self) source code
 
tag_pyjsglade(self, tag) source code
 
tag_components(self, tag) source code
 
tag_component(self, tag) source code
 
tag_properties(self, tag) source code
 
tag_property(self, tag) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  re_xml = re.compile('''<[?]xml([^?]*)[?]>''')
  re_comment = re.compile('''<!--(-*)''')
  re_tag = re.compile('''<\s*([^/]\S*)(.*)>''')
  re_tag_close = re.compile('''</\s*(\S+)\s*>''')
  re_attr = re.compile('''\S+="[^"]*"''')
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, lines)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)