Package gnue :: Package designer :: Package projects :: Module Parser :: Class xmlProcessHandler
[show private | hide private]

Class xmlProcessHandler

ContentHandler --+    
                 |    
        xmlHandler --+
                     |
                    xmlProcessHandler


Method Summary
  __init__(self)
    Inherited from xmlHandler
  _object_created_(self, obj)
  characters(self, content)
Called by the internal SAX parser whenever text (not part of a tag) is encountered.
  comment(self, text)
  endCDATA(self)
  endDTD(self)
  endElementNS(self, name, qname)
Called by the internal SAX parser whenever an ending XML tag/element is encountered.
  endEntity(self, name)
  finalValidation(self)
Perform a final validation of the tags.
  getRoot(self)
Return the root node of the object tree
  getRootComments(self)
Return sequence of comment tags given before the root node
  initValidation(self)
Update some statistics about the elements in use.
  startCDATA(self)
  startDTD(self, name, public_id, system_id)
  startElementNS(self, name, qname, attrs)
Signals the start of an element in namespace mode.
  startEntity(self, name)
    Inherited from ContentHandler
  endDocument(self)
Receive notification of the end of a document.
  endElement(self, name)
Signals the end of an element in non-namespace mode.
  endPrefixMapping(self, prefix)
End the scope of a prefix-URI mapping.
  ignorableWhitespace(self, whitespace)
Receive notification of ignorable whitespace in element content.
  processingInstruction(self, target, data)
Receive notification of a processing instruction.
  setDocumentLocator(self, locator)
Called by the parser to give the application a locator for locating the origin of document events.
  skippedEntity(self, name)
Receive notification of a skipped entity.
  startDocument(self)
Receive notification of the beginning of a document.
  startElement(self, name, attrs)
Signals the start of an element in non-namespace mode.
  startPrefixMapping(self, prefix, uri)
Begin the scope of a prefix-URI Namespace mapping.

Class Variable Summary
    Inherited from xmlHandler
NoneType default_namespace: The default namespace (which would be dropped), i.e.
bool ignore_unknown_namespaces: If set to True, any elements that have an unknown namespace will be dropped.
dict xmlElements = {}
NoneType xmlMasqueradeNamespaceElements = None                                                                  
bool xmlNamespaceAttributesAsPrefixes = False

Method Details

__init__(self)
(Constructor)

Overrides:
gnue.common.definitions.GParser.xmlHandler.__init__


GNUe Home

Private API

Developer's Corner