Package arcmap :: Module mapio :: Class XMLMapReader
[hide private]
[frames] | no frames]

Class XMLMapReader

source code

MapReader --+
            |
           XMLMapReader

Instance Methods [hide private]
 
__init__(self, fileName) source code
 
__processNameElement(self, e) source code
 
__processDescriptionElement(self, e) source code
 
__processTileMapElement(self, e) source code
 
__processLights(self, e)
Brief Description
source code
 
__processImages(self, e)
Brief Description
source code
 
__processLayer(self, e)
Reads through a layer element and adds its information to the maps
source code
(Tile, int, int)
__processTile(self, e)
Brief Description
source code
 
__processCircle(self, e)
Brief Description
source code
 
__processPolygon(self, e)
Brief Description
source code
 
__processPoint(self, e)
Brief Description
source code
 
__processBackground(self, e) source code
 
__processParallax(self, e) source code

Inherited from MapReader: getMap

Static Methods [hide private]
bool
__requireAttributes(element, *names)
Returns: True if all the required attrubutes were present in the element, False otherwise
source code

Inherited from MapReader: getReader

Method Details [hide private]

__init__(self, fileName)
(Constructor)

source code 
Parameters:
  • fileName - Name of file to open
Overrides: MapReader.__init__
(inherited documentation)

__processLights(self, e)

source code 

Brief Description

Parameters:
  • e (xml.dom.minidom.Element) - Placeholder

__processImages(self, e)

source code 

Brief Description

Parameters:
  • e (xml.dom.minidom.Element) - Placeholder

__processLayer(self, e)

source code 

Reads through a layer element and adds its information to the maps

Parameters:
  • e (xml.dom.minidom.Element) - Placeholder

__processTile(self, e)

source code 

Brief Description

Parameters:
  • e (xml.dom.minidom.Element) - Placeholder
Returns: (Tile, int, int)
Tile tile parsed from e and its x and y coordinates

__processCircle(self, e)

source code 

Brief Description

Parameters:
  • e (xml.dom.minidom.Element) - Placeholder

__processPolygon(self, e)

source code 

Brief Description

Parameters:
  • e (xml.dom.minidom.Element) - Placeholder

__processPoint(self, e)

source code 

Brief Description

Parameters:
  • e (xml.dom.minidom.Element) - Placeholder

__requireAttributes(element, *names)
Static Method

source code 
Parameters:
  • element (xml.dom.minidom.Element) - the xml element to test
  • names (string[]) - List of attributes that are required
Returns: bool
True if all the required attrubutes were present in the element, False otherwise