| | |
- DOMBuilder
- DOMBuilderFilter
- DOMImplementationLS
- DocumentLS
- Options
- __builtin__.object
-
- DOMEntityResolver
- DOMInputSource
class DOMBuilder |
| | |
Methods defined here:
- __init__(self)
- canSetFeature(self, name, state)
- getFeature(self, name)
- parse(self, input)
- parseURI(self, uri)
- parseWithContext(self, input, cnode, action)
- setFeature(self, name, state)
- supportsFeature(self, name)
Data and other attributes defined here:
- ACTION_APPEND_AS_CHILDREN = 2
- ACTION_INSERT_AFTER = 3
- ACTION_INSERT_BEFORE = 4
- ACTION_REPLACE = 1
- entityResolver = None
- errorHandler = None
- filter = None
|
class DOMBuilderFilter |
| |
Element filter which can be used to tailor construction of
a DOM instance. |
| |
Methods defined here:
- acceptNode(self, element)
- startContainer(self, element)
Data and other attributes defined here:
- FILTER_ACCEPT = 1
- FILTER_INTERRUPT = 4
- FILTER_REJECT = 2
- FILTER_SKIP = 3
- whatToShow = 4294967295L
|
class DOMInputSource(__builtin__.object) |
| | |
Methods defined here:
- __init__(self)
Data and other attributes defined here:
- __slots__ = ('byteStream', 'characterStream', 'stringData', 'encoding', 'publicId', 'systemId', 'baseURI')
- baseURI = <member 'baseURI' of 'DOMInputSource' objects>
- byteStream = <member 'byteStream' of 'DOMInputSource' objects>
- characterStream = <member 'characterStream' of 'DOMInputSource' objects>
- encoding = <member 'encoding' of 'DOMInputSource' objects>
- publicId = <member 'publicId' of 'DOMInputSource' objects>
- stringData = <member 'stringData' of 'DOMInputSource' objects>
- systemId = <member 'systemId' of 'DOMInputSource' objects>
|
class DocumentLS |
| |
Mixin to create documents that conform to the load/save spec. |
| |
Methods defined here:
- abort(self)
- load(self, uri)
- loadXML(self, source)
- saveXML(self, snode)
Data and other attributes defined here:
- async = False
|
class Options |
| |
Features object that has variables set for each DOMBuilder feature.
The DOMBuilder class uses an instance of this class to pass settings to
the ExpatBuilder class. |
| |
Data and other attributes defined here:
- cdata_sections = True
- charset_overrides_xml_encoding = True
- comments = True
- create_entity_ref_nodes = True
- datatype_normalization = False
- entities = True
- errorHandler = None
- external_dtd_subset = True
- external_general_entities = True
- external_parameter_entities = True
- filter = None
- infoset = False
- namespace_declarations = True
- namespaces = 1
- supported_mediatypes_only = False
- validate = False
- validate_if_schema = False
- validation = False
- whitespace_in_element_content = True
| |