| |
- AttributeMap
- AttributesImpl
- saxlib.ContentHandler
-
- ContentGenerator
- DefaultHandler(saxlib.EntityResolver, saxlib.DTDHandler, saxlib.ContentHandler, saxlib.ErrorHandler)
- saxlib.DTDHandler
-
- DefaultHandler(saxlib.EntityResolver, saxlib.DTDHandler, saxlib.ContentHandler, saxlib.ErrorHandler)
- saxlib.EntityResolver
-
- DefaultHandler(saxlib.EntityResolver, saxlib.DTDHandler, saxlib.ContentHandler, saxlib.ErrorHandler)
- saxlib.ErrorHandler
-
- DefaultHandler(saxlib.EntityResolver, saxlib.DTDHandler, saxlib.ContentHandler, saxlib.ErrorHandler)
- ErrorPrinter
- ErrorRaiser
- EventBroadcaster
- saxlib.HandlerBase(saxlib.EntityResolver, saxlib.DTDHandler, saxlib.DocumentHandler, saxlib.ErrorHandler)
-
- Canonizer
- ESISDocHandler
- saxlib.IncrementalParser(saxlib.XMLReader)
-
- BaseIncrementalParser
- Location
- saxlib.XMLFilter(saxlib.XMLReader)
-
- XMLFilterImpl
- mllib
class AttributesImpl |
|
A default implementation of the Attributes interface that wraps two
dictionaries: one mapping attribute names to values and one mapping
qualified names to attribute names.
|
| |
- __getitem__(self, name)
- no doc string
- __init__(self, attrs, rawnames)
- no doc string
- __len__(self)
- no doc string
- copy(self)
- no doc string
- get(self, name, alternative=None)
- no doc string
- getLength(self)
- no doc string
- getNameByQName(self, name)
- no doc string
- getNames(self)
- no doc string
- getQNames(self)
- no doc string
- getType(self, name)
- no doc string
- getValue(self, name)
- no doc string
- getValueByQName(self, name)
- no doc string
- has_key(self, name)
- no doc string
- items(self)
- no doc string
- keys(self)
- no doc string
- values(self)
- no doc string
|
class Canonizer(saxlib.HandlerBase) |
|
*DEPRECATED*
A SAX document handler that produces canonized XML output.
|
| |
- __init__(self, writer=<open file '<stdout>', mode 'w' at 762890>)
- no doc string
- characters(self, data, start_ix, length)
- no doc string
- endElement(self, name)
- no doc string
- ignorableWhitespace(self, data, start_ix, length)
- no doc string
- processingInstruction(self, target, remainder)
- no doc string
- startElement(self, name, amap)
- no doc string
- write_data(self, data)
- Writes datachars to writer.
|
class ContentGenerator(saxlib.ContentHandler) |
|
A ContentHandler implementation that produces XML output.
|
| |
- __init__(self, out=<open file '<stdout>', mode 'w' at 762890>)
- no doc string
- characters(self, content)
- no doc string
- endElement(self, name, rawname)
- no doc string
- endPrefixMapping(self, prefix)
- no doc string
- ignorableWhitespace(self, content)
- no doc string
- processingInstruction(self, target, data)
- no doc string
- startDocument(self)
- # ContentHandler methods
- startElement(self, name, rawname, attrs)
- no doc string
- startPrefixMapping(self, prefix, uri)
- no doc string
|
class ESISDocHandler(saxlib.HandlerBase) |
|
*DEPRECATED*
A SAX document handler that produces naive ESIS output.
|
| |
- __init__(self, writer=<open file '<stdout>', mode 'w' at 762890>)
- no doc string
- characters(self, data, start_ix, length)
- Receive an event signalling that character data has been found.
- endElement(self, name)
- Receive an event signalling the end of an element.
- processingInstruction(self, target, remainder)
- Receive an event signalling that a processing instruction
- has been found.
- startElement(self, name, amap)
- Receive an event signalling the start of an element.
|
class XMLFilterImpl(saxlib.XMLFilter) |
|
This class is designed to sit between an XMLReader and the
client application's event handlers. By default, it does nothing
but pass requests up to the reader and events on to the handlers
unmodified, but subclasses can override specific methods to modify
the event stream or the configuration requests as they pass
through.
|
| |
- characters(self, content)
- no doc string
- endDocument(self)
- no doc string
- endElement(self, name, qname)
- no doc string
- endPrefixMapping(self, prefix)
- no doc string
- error(self, exception)
- # ErrorHandler methods
- fatalError(self, exception)
- no doc string
- getFeature(self, name)
- no doc string
- getProperty(self, name)
- no doc string
- ignorableWhitespace(self, chars, start, end)
- no doc string
- notationDecl(self, name, publicId, systemId)
- # DTDHandler methods
- parse(self, source)
- # XMLReader methods
- processingInstruction(self, target, data)
- no doc string
- resolveEntity(self, publicId, systemId)
- # EntityResolver methods
- setDocumentLocator(self, locator)
- # ContentHandler methods
- setFeature(self, name, state)
- no doc string
- setLocale(self, locale)
- no doc string
- setProperty(self, name, value)
- no doc string
- skippedEntity(self, name)
- no doc string
- startDocument(self)
- no doc string
- startElement(self, name, qname, attrs)
- no doc string
- startPrefixMapping(self, prefix, uri)
- no doc string
- unparsedEntityDecl(self, name, publicId, systemId, ndata)
- no doc string
- warning(self, exception)
- no doc string
|
class mllib |
|
*DEPRECATED*
A re-implementation of the htmllib, sgmllib and xmllib interfaces as a
SAX DocumentHandler.
|
| |
- __init__(self)
- no doc string
- close(self)
- no doc string
- feed(self, data)
- no doc string
- get_stack(self)
- no doc string
- handle_data(self, data)
- no doc string
- handle_endtag(self, name, method)
- no doc string
- handle_proc(self, target, data)
- no doc string
- handle_starttag(self, name, method, atts)
- # --- Handler methods (to be overridden)
- reset(self)
- no doc string
- syntax_error(self, message)
- no doc string
- unknown_endtag(self, name)
- no doc string
- unknown_starttag(self, name, atts)
- no doc string
| |