Definition at line 697 of file AtlRunQueryUtils.py.
◆ __init__()
def python.utils.AtlRunQueryUtils.XMLReader.__init__ |
( |
|
self, |
|
|
|
filename |
|
) |
| |
Definition at line 733 of file AtlRunQueryUtils.py.
734 import xml.etree.cElementTree
as ET
735 self.doc = ET.parse(filename)
736 root = XMLReader.XMLElement(self.doc.getroot())
737 self.__filename = filename
739 self.__dict__[root.tag] = root
◆ __getattr__()
def python.utils.AtlRunQueryUtils.XMLReader.__getattr__ |
( |
|
self, |
|
|
|
name |
|
) |
| |
Definition at line 741 of file AtlRunQueryUtils.py.
741 def __getattr__(self,name):
742 raise AttributeError (
"'%s'. XML document '%s' has root tag '%s'" % (name,self.__filename, self.__root.tag))
◆ __filename
python.utils.AtlRunQueryUtils.XMLReader.__filename |
|
private |
◆ __root
python.utils.AtlRunQueryUtils.XMLReader.__root |
|
private |
◆ doc
python.utils.AtlRunQueryUtils.XMLReader.doc |
The documentation for this class was generated from the following file: