| Trees | Index | Help |
|
|---|
| Package svs_demogame :: Module gamesettings :: Class GameSettingsXMLContentHandler |
|
ContentHandler--+ |DTDHandler--+ |EntityResolver--+ |ErrorHandler--+ |DefaultHandler--+ |GenericXMLContentHandler--+ | GameSettingsXMLContentHandler
| Method Summary | |
|---|---|
__init__(self,
target)
| |
Receive notification of character data. | |
Signals the end of an element in non-namespace mode. | |
Parses AGENTS tag. | |
Parses AGENT tag. | |
Stores data collected from AGENT tag along with script
code for agent. | |
Parses AREAS tag. | |
Parses AREA tag. | |
Stores data collected from AREA tag along with script
code for area. | |
Parses GAMEWORLD tag. | |
Parses SCRIPTS tag. | |
Parses SCRIPT tag. | |
Adds script onto data collected for area. | |
Signals the start of an element in non-namespace mode. | |
| Inherited from GenericXMLContentHandler | |
Handle a recoverable error. | |
| Instance Variable Summary | |
|---|---|
| Inherited from GenericXMLContentHandler | |
| string | currentNode: name of current node in parsing process |
| string | target: target to pass parsed data to |
| Method Details |
|---|
characters(self, content)Receive notification of character data. The Parser will call this method to report each chunk of character data. SAX parsers may return all contiguous character data in a single chunk, or they may split it into several chunks; however, all of the characters in any single event must come from the same external entity so that the Locator provides useful information.
|
endElement(self, name)Signals the end of an element in non-namespace mode. The name parameter contains the name of the element type, just as with the startElement event.
|
handleAgentsTag(self, attrs)ParsesAGENTS tag.
|
handleAgentTag(self, attrs)ParsesAGENT tag.
|
handleAgentTagEnd(self)Stores data collected fromAGENT tag along with script
code for agent.
|
handleAreasTag(self, attrs)ParsesAREAS tag.
|
handleAreaTag(self, attrs)ParsesAREA tag.
|
handleAreaTagEnd(self)Stores data collected fromAREA tag along with script
code for area.
|
handleGameWorldTag(self, attrs)ParsesGAMEWORLD tag.
|
handleScriptsTag(self, attrs)ParsesSCRIPTS tag.
|
handleScriptTag(self, attrs)ParsesSCRIPT tag.
|
handleScriptTagEnd(self, chardata)Adds script onto data collected for area. |
startElement(self, name, attrs)Signals the start of an element in non-namespace mode. The name parameter contains the raw XML 1.0 name of the element type as a string and the attrs parameter holds an instance of the Attributes class containing the attributes of the element.
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:28 2005 | http://epydoc.sf.net |