| Trees | Index | Help |
|
|---|
| Package svs_core :: Package filehandling :: Module loaders :: Class GenericXMLContentHandler |
|
ContentHandler--+ |DTDHandler--+ |EntityResolver--+ |ErrorHandler--+ |DefaultHandler--+ | GenericXMLContentHandler
GameSettingsXMLContentHandler,
SVGContentHandler| Method Summary | |
|---|---|
__init__(self,
target)
| |
Receive notification of character data. | |
Signals the end of an element in non-namespace mode. | |
Handle a recoverable error. | |
Signals the start of an element in non-namespace mode. | |
| Inherited from EntityResolver | |
Resolve the system identifier of an entity and return either the system identifier to read from as a string, or an InputSource to read from. | |
| Inherited from DTDHandler | |
Handle a notation declaration event. | |
Handle an unparsed entity declaration event. | |
| Inherited from ContentHandler | |
Receive notification of the end of a document. | |
Signals the end of an element in namespace mode. | |
End the scope of a prefix-URI mapping. | |
Receive notification of ignorable whitespace in element content. | |
Receive notification of a processing instruction. | |
Called by the parser to give the application a locator for locating the origin of document events. | |
Receive notification of a skipped entity. | |
Receive notification of the beginning of a document. | |
Signals the start of an element in namespace mode. | |
Begin the scope of a prefix-URI Namespace mapping. | |
| Inherited from ErrorHandler | |
Handle a non-recoverable error. | |
Handle a warning. | |
| Instance Variable Summary | |
|---|---|
| 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.
|
error(self, exception)Handle a recoverable error.
|
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.
|
| Instance Variable Details |
|---|
currentNodename of current node in parsing process
|
targettarget to pass parsed data to
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:26 2005 | http://epydoc.sf.net |