xml.dom.pulldom
index
/usr/lib/python2.2/xml/dom/pulldom.py

 
Modules
            
types
xml
 
Classes
            
xml.sax.handler.ContentHandler
PullDOM
SAX2DOM
DOMEventStream
ErrorHandler
 
class DOMEventStream
       
   Methods defined here:
__getitem__(self, pos)
__init__(self, stream, parser, bufsize)
_emit(self)
 Fallback replacement for getEvent() that emits
the events that _slurp() read previously.
_slurp(self)
 Fallback replacement for getEvent() using the
standard SAX2 interface, which means we slurp the
SAX events into memory (no performance gain, but
we are compatible to all SAX parsers).
clear(self)
clear(): Explicitly release parsing objects
expandNode(self, node)
getEvent(self)
reset(self)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.pulldom'
 
class ErrorHandler
       
   Methods defined here:
error(self, exception)
fatalError(self, exception)
warning(self, exception)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.pulldom'
 
class PullDOM(xml.sax.handler.ContentHandler)
       
   Methods defined here:
__init__(self, documentFactory=None)
buildDocument(self, uri, tagname)
characters(self, chars)
clear(self)
clear(): Explicitly release parsing structures
comment(self, s)
endDocument(self)
endElement(self, name)
endElementNS(self, name, tagName)
endPrefixMapping(self, prefix)
ignorableWhitespace(self, chars)
pop(self)
processingInstruction(self, target, data)
setDocumentLocator(self, locator)
startDocument(self)
startElement(self, name, attrs)
startElementNS(self, name, tagName, attrs)
startPrefixMapping(self, prefix, uri)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.pulldom'
_locator = None
document = None

Methods inherited from xml.sax.handler.ContentHandler:
skippedEntity(self, name)
Receive notification of a skipped entity.
 
The Parser will invoke this method once for each entity
skipped. Non-validating processors may skip entities if they
have not seen the declarations (because, for example, the
entity was declared in an external DTD subset). All processors
may skip external entities, depending on the values of the
http://xml.org/sax/features/external-general-entities and the
http://xml.org/sax/features/external-parameter-entities
properties.
 
class SAX2DOM(PullDOM)
       
  
Method resolution order:
SAX2DOM
PullDOM
xml.sax.handler.ContentHandler

Methods defined here:
characters(self, chars)
ignorableWhitespace(self, chars)
processingInstruction(self, target, data)
startElement(self, name, attrs)
startElementNS(self, name, tagName, attrs)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.pulldom'

Methods inherited from PullDOM:
__init__(self, documentFactory=None)
buildDocument(self, uri, tagname)
clear(self)
clear(): Explicitly release parsing structures
comment(self, s)
endDocument(self)
endElement(self, name)
endElementNS(self, name, tagName)
endPrefixMapping(self, prefix)
pop(self)
setDocumentLocator(self, locator)
startDocument(self)
startPrefixMapping(self, prefix, uri)

Data and non-method functions inherited from PullDOM:
_locator = None
document = None

Methods inherited from xml.sax.handler.ContentHandler:
skippedEntity(self, name)
Receive notification of a skipped entity.
 
The Parser will invoke this method once for each entity
skipped. Non-validating processors may skip entities if they
have not seen the declarations (because, for example, the
entity was declared in an external DTD subset). All processors
may skip external entities, depending on the values of the
http://xml.org/sax/features/external-general-entities and the
http://xml.org/sax/features/external-parameter-entities
properties.
 
Functions
            
parse(stream_or_string, parser=None, bufsize=None)
parseString(string, parser=None)
 
Data
             CHARACTERS = 'CHARACTERS'
COMMENT = 'COMMENT'
END_DOCUMENT = 'END_DOCUMENT'
END_ELEMENT = 'END_ELEMENT'
IGNORABLE_WHITESPACE = 'IGNORABLE_WHITESPACE'
PROCESSING_INSTRUCTION = 'PROCESSING_INSTRUCTION'
START_DOCUMENT = 'START_DOCUMENT'
START_ELEMENT = 'START_ELEMENT'
_StringTypes = [<type 'str'>, <type 'unicode'>]
__file__ = '/usr/lib/python2.2/xml/dom/pulldom.pyc'
__name__ = 'xml.dom.pulldom'
default_bufsize = 16364