| | |
- Childless
-
- CharacterData(Childless, Node)
-
- Text
-
- CDATASection
- Comment(Childless, CharacterData)
- ProcessingInstruction(Childless, Node)
- xml.dom.xmlbuilder.DOMImplementationLS
-
- DOMImplementation
- xml.dom.minicompat.GetattrMagic
-
- NamedNodeMap(__builtin__.object, xml.dom.minicompat.GetattrMagic)
- NamedNodeMap(__builtin__.object, xml.dom.minicompat.GetattrMagic)
- Node(xml.dom.Node, xml.dom.minicompat.GetattrMagic)
-
- Attr
- Document(Node, xml.dom.xmlbuilder.DocumentLS)
- DocumentFragment
- Element
- ReadOnlySequentialNamedNodeMap(__builtin__.object, xml.dom.minicompat.GetattrMagic)
- Identified
-
- DocumentType(Identified, Childless, Node)
- Entity(Identified, Node)
- Notation(Identified, Childless, Node)
- xml.dom.Node
-
- Node(xml.dom.Node, xml.dom.minicompat.GetattrMagic)
-
- Attr
- Document(Node, xml.dom.xmlbuilder.DocumentLS)
- DocumentFragment
- Element
- __builtin__.object
-
- ElementInfo
- NamedNodeMap(__builtin__.object, xml.dom.minicompat.GetattrMagic)
- NamedNodeMap(__builtin__.object, xml.dom.minicompat.GetattrMagic)
- ReadOnlySequentialNamedNodeMap(__builtin__.object, xml.dom.minicompat.GetattrMagic)
- TypeInfo
class Attr(Node) |
| | |
- Method resolution order:
- Attr
- Node
- xml.dom.Node
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- __init__(self, qName, namespaceURI=None, localName=None, prefix=None)
- __setattr__(self, name, value)
- unlink(self)
Properties defined here:
- isId
- True if this attribute is an ID.
- get = _get_isId(self)
- set = set(self, value, name='isId')
- localName
- Namespace-local name of this attribute.
- get = _get_localName(self)
- set = set(self, value, name='localName')
- schemaType
- Schema type for this attribute.
- get = _get_schemaType(self)
- set = set(self, value, name='schemaType')
Data and other attributes defined here:
- attributes = None
- nodeType = 2
- ownerElement = None
- specified = False
Methods inherited from Node:
- __nonzero__(self)
- appendChild(self, node)
- cloneNode(self, deep)
- getInterface(self, feature)
- getUserData(self, key)
- hasChildNodes(self)
- insertBefore(self, newChild, refChild)
- isSameNode(self, other)
- isSupported(self, feature, version)
- normalize(self)
- removeChild(self, oldChild)
- replaceChild(self, newChild, oldChild)
- setUserData(self, key, data, handler)
- toprettyxml(self, indent='\t', newl='\n', encoding=None)
- toxml(self, encoding=None)
Properties inherited from Node:
- firstChild
- First child node, or None.
- get = _get_firstChild(self)
- set = set(self, value, name='firstChild')
- lastChild
- Last child node, or None.
- get = _get_lastChild(self)
- set = set(self, value, name='lastChild')
Data and other attributes inherited from Node:
- namespaceURI = None
- nextSibling = None
- ownerDocument = None
- parentNode = None
- prefix = None
- previousSibling = None
Data and other attributes inherited from xml.dom.Node:
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
|
AttributeList = class NamedNodeMap(__builtin__.object, xml.dom.minicompat.GetattrMagic) |
| |
The attribute list is a transient interface to the underlying
dictionaries. Mutations here will change the underlying element's
dictionary.
Ordering is imposed artificially and does not reflect the order of
attributes as found in an input document. |
| |
- Method resolution order:
- NamedNodeMap
- __builtin__.object
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- __cmp__(self, other)
- __delitem__(self, attname_or_tuple)
- __getitem__(self, attname_or_tuple)
- __getstate__(self)
- __init__(self, attrs, attrsNS, ownerElement)
- __len__ = _get_length(self)
- __setitem__(self, attname, value)
- # same as set
- __setstate__(self, state)
- get(self, name, value=None)
- getNamedItem(self, name)
- getNamedItemNS(self, namespaceURI, localName)
- has_key(self, key)
- item(self, index)
- items(self)
- itemsNS(self)
- keys(self)
- keysNS(self)
- removeNamedItem(self, name)
- removeNamedItemNS(self, namespaceURI, localName)
- setNamedItem(self, node)
- setNamedItemNS(self, node)
- values(self)
Properties defined here:
- length
- Number of nodes in the NamedNodeMap.
- get = _get_length(self)
- set = set(self, value, name='length')
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __slots__ = ('_attrs', '_attrsNS', '_ownerElement')
- __weakref__ = <attribute '__weakref__' of 'NamedNodeMap' objects>
- list of weak references to the object (if defined)
|
class CDATASection(Text) |
| | |
- Method resolution order:
- CDATASection
- Text
- CharacterData
- Childless
- Node
- xml.dom.Node
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- writexml(self, writer, indent='', addindent='', newl='')
Data and other attributes defined here:
- nodeName = '#cdata-section'
- nodeType = 4
Methods inherited from Text:
- replaceWholeText(self, content)
- splitText(self, offset)
Properties inherited from Text:
- isWhitespaceInElementContent
- True iff this text node contains only whitespace and is in element content.
- get = _get_isWhitespaceInElementContent(self)
- set = set(self, value, name='isWhitespaceInElementContent')
- wholeText
- The text of all logically-adjacent text nodes.
- get = _get_wholeText(self)
- set = set(self, value, name='wholeText')
Data and other attributes inherited from Text:
- attributes = None
Methods inherited from CharacterData:
- __len__ = _get_length(self)
- __repr__(self)
- __setattr__(self, name, value)
- appendData(self, arg)
- deleteData(self, offset, count)
- insertData(self, offset, arg)
- replaceData(self, offset, count, arg)
- substringData(self, offset, count)
Properties inherited from CharacterData:
- length
- Length of the string data.
- get = _get_length(self)
- set = set(self, value, name='length')
Methods inherited from Childless:
- appendChild(self, node)
- hasChildNodes(self)
- insertBefore(self, newChild, refChild)
- removeChild(self, oldChild)
- replaceChild(self, newChild, oldChild)
Data and other attributes inherited from Childless:
- childNodes = ()
- firstChild = None
- lastChild = None
Methods inherited from Node:
- __nonzero__(self)
- cloneNode(self, deep)
- getInterface(self, feature)
- getUserData(self, key)
- isSameNode(self, other)
- isSupported(self, feature, version)
- normalize(self)
- setUserData(self, key, data, handler)
- toprettyxml(self, indent='\t', newl='\n', encoding=None)
- toxml(self, encoding=None)
- unlink(self)
Properties inherited from Node:
- localName
- Namespace-local name of this node.
- get = _get_localName(self)
- set = set(self, value, name='localName')
Data and other attributes inherited from Node:
- namespaceURI = None
- nextSibling = None
- ownerDocument = None
- parentNode = None
- prefix = None
- previousSibling = None
Data and other attributes inherited from xml.dom.Node:
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
|
class CharacterData(Childless, Node) |
| | |
- Method resolution order:
- CharacterData
- Childless
- Node
- xml.dom.Node
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- __len__ = _get_length(self)
- __repr__(self)
- __setattr__(self, name, value)
- appendData(self, arg)
- deleteData(self, offset, count)
- insertData(self, offset, arg)
- replaceData(self, offset, count, arg)
- substringData(self, offset, count)
Properties defined here:
- length
- Length of the string data.
- get = _get_length(self)
- set = set(self, value, name='length')
Methods inherited from Childless:
- appendChild(self, node)
- hasChildNodes(self)
- insertBefore(self, newChild, refChild)
- removeChild(self, oldChild)
- replaceChild(self, newChild, oldChild)
Data and other attributes inherited from Childless:
- attributes = None
- childNodes = ()
- firstChild = None
- lastChild = None
Methods inherited from Node:
- __nonzero__(self)
- cloneNode(self, deep)
- getInterface(self, feature)
- getUserData(self, key)
- isSameNode(self, other)
- isSupported(self, feature, version)
- normalize(self)
- setUserData(self, key, data, handler)
- toprettyxml(self, indent='\t', newl='\n', encoding=None)
- toxml(self, encoding=None)
- unlink(self)
Properties inherited from Node:
- localName
- Namespace-local name of this node.
- get = _get_localName(self)
- set = set(self, value, name='localName')
Data and other attributes inherited from Node:
- namespaceURI = None
- nextSibling = None
- ownerDocument = None
- parentNode = None
- prefix = None
- previousSibling = None
Data and other attributes inherited from xml.dom.Node:
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
|
class Childless |
| |
Mixin that makes childless-ness easy to implement and avoids
the complexity of the Node methods that deal with children. |
| |
Methods defined here:
- appendChild(self, node)
- hasChildNodes(self)
- insertBefore(self, newChild, refChild)
- removeChild(self, oldChild)
- replaceChild(self, newChild, oldChild)
Data and other attributes defined here:
- attributes = None
- childNodes = ()
- firstChild = None
- lastChild = None
|
class Comment(Childless, CharacterData) |
| | |
- Method resolution order:
- Comment
- Childless
- CharacterData
- Node
- xml.dom.Node
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- __init__(self, data)
- writexml(self, writer, indent='', addindent='', newl='')
Data and other attributes defined here:
- nodeName = '#comment'
- nodeType = 8
Methods inherited from Childless:
- appendChild(self, node)
- hasChildNodes(self)
- insertBefore(self, newChild, refChild)
- removeChild(self, oldChild)
- replaceChild(self, newChild, oldChild)
Data and other attributes inherited from Childless:
- attributes = None
- childNodes = ()
- firstChild = None
- lastChild = None
Methods inherited from CharacterData:
- __len__ = _get_length(self)
- __repr__(self)
- __setattr__(self, name, value)
- appendData(self, arg)
- deleteData(self, offset, count)
- insertData(self, offset, arg)
- replaceData(self, offset, count, arg)
- substringData(self, offset, count)
Properties inherited from CharacterData:
- length
- Length of the string data.
- get = _get_length(self)
- set = set(self, value, name='length')
Methods inherited from Node:
- __nonzero__(self)
- cloneNode(self, deep)
- getInterface(self, feature)
- getUserData(self, key)
- isSameNode(self, other)
- isSupported(self, feature, version)
- normalize(self)
- setUserData(self, key, data, handler)
- toprettyxml(self, indent='\t', newl='\n', encoding=None)
- toxml(self, encoding=None)
- unlink(self)
Properties inherited from Node:
- localName
- Namespace-local name of this node.
- get = _get_localName(self)
- set = set(self, value, name='localName')
Data and other attributes inherited from Node:
- namespaceURI = None
- nextSibling = None
- ownerDocument = None
- parentNode = None
- prefix = None
- previousSibling = None
Data and other attributes inherited from xml.dom.Node:
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
|
class DOMImplementation(xml.dom.xmlbuilder.DOMImplementationLS) |
| | |
Methods defined here:
- createDocument(self, namespaceURI, qualifiedName, doctype)
- createDocumentType(self, qualifiedName, publicId, systemId)
- getInterface(self, feature)
- hasFeature(self, feature, version)
Methods inherited from xml.dom.xmlbuilder.DOMImplementationLS:
- createDOMBuilder(self, mode, schemaType)
- createDOMInputSource(self)
- createDOMWriter(self)
Data and other attributes inherited from xml.dom.xmlbuilder.DOMImplementationLS:
- MODE_ASYNCHRONOUS = 2
- MODE_SYNCHRONOUS = 1
|
class Document(Node, xml.dom.xmlbuilder.DocumentLS) |
| | |
- Method resolution order:
- Document
- Node
- xml.dom.Node
- xml.dom.minicompat.GetattrMagic
- xml.dom.xmlbuilder.DocumentLS
Methods defined here:
- __init__(self)
- appendChild(self, node)
- cloneNode(self, deep)
- createAttribute(self, qName)
- createAttributeNS(self, namespaceURI, qualifiedName)
- createCDATASection(self, data)
- createComment(self, data)
- createDocumentFragment(self)
- createElement(self, tagName)
- createElementNS(self, namespaceURI, qualifiedName)
- createProcessingInstruction(self, target, data)
- createTextNode(self, data)
- getElementById(self, id)
- getElementsByTagName(self, name)
- getElementsByTagNameNS(self, namespaceURI, localName)
- importNode(self, node, deep)
- isSupported(self, feature, version)
- removeChild(self, oldChild)
- renameNode(self, n, namespaceURI, name)
- unlink(self)
- writexml(self, writer, indent='', addindent='', newl='', encoding=None)
Properties defined here:
- documentElement
- Top-level element of this document.
- get = _get_documentElement(self)
- set = set(self, value, name='documentElement')
Data and other attributes defined here:
- actualEncoding = None
- attributes = None
- doctype = None
- documentURI = None
- encoding = None
- errorHandler = None
- implementation = <xml.dom.minidom.DOMImplementation instance>
- nextSibling = None
- nodeName = '#document'
- nodeType = 9
- nodeValue = None
- parentNode = None
- previousSibling = None
- standalone = None
- strictErrorChecking = False
- version = None
Methods inherited from Node:
- __nonzero__(self)
- getInterface(self, feature)
- getUserData(self, key)
- hasChildNodes(self)
- insertBefore(self, newChild, refChild)
- isSameNode(self, other)
- normalize(self)
- replaceChild(self, newChild, oldChild)
- setUserData(self, key, data, handler)
- toprettyxml(self, indent='\t', newl='\n', encoding=None)
- toxml(self, encoding=None)
Properties inherited from Node:
- firstChild
- First child node, or None.
- get = _get_firstChild(self)
- set = set(self, value, name='firstChild')
- lastChild
- Last child node, or None.
- get = _get_lastChild(self)
- set = set(self, value, name='lastChild')
- localName
- Namespace-local name of this node.
- get = _get_localName(self)
- set = set(self, value, name='localName')
Data and other attributes inherited from Node:
- namespaceURI = None
- ownerDocument = None
- prefix = None
Data and other attributes inherited from xml.dom.Node:
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
Methods inherited from xml.dom.xmlbuilder.DocumentLS:
- abort(self)
- load(self, uri)
- loadXML(self, source)
- saveXML(self, snode)
Data and other attributes inherited from xml.dom.xmlbuilder.DocumentLS:
- async = False
|
class DocumentFragment(Node) |
| | |
- Method resolution order:
- DocumentFragment
- Node
- xml.dom.Node
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- __init__(self)
Data and other attributes defined here:
- attributes = None
- nodeName = '#document-fragment'
- nodeType = 11
- nodeValue = None
- parentNode = None
Methods inherited from Node:
- __nonzero__(self)
- appendChild(self, node)
- cloneNode(self, deep)
- getInterface(self, feature)
- getUserData(self, key)
- hasChildNodes(self)
- insertBefore(self, newChild, refChild)
- isSameNode(self, other)
- isSupported(self, feature, version)
- normalize(self)
- removeChild(self, oldChild)
- replaceChild(self, newChild, oldChild)
- setUserData(self, key, data, handler)
- toprettyxml(self, indent='\t', newl='\n', encoding=None)
- toxml(self, encoding=None)
- unlink(self)
Properties inherited from Node:
- firstChild
- First child node, or None.
- get = _get_firstChild(self)
- set = set(self, value, name='firstChild')
- lastChild
- Last child node, or None.
- get = _get_lastChild(self)
- set = set(self, value, name='lastChild')
- localName
- Namespace-local name of this node.
- get = _get_localName(self)
- set = set(self, value, name='localName')
Data and other attributes inherited from Node:
- namespaceURI = None
- nextSibling = None
- ownerDocument = None
- prefix = None
- previousSibling = None
Data and other attributes inherited from xml.dom.Node:
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
|
class DocumentType(Identified, Childless, Node) |
| | |
- Method resolution order:
- DocumentType
- Identified
- Childless
- Node
- xml.dom.Node
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- __init__(self, qualifiedName)
- cloneNode(self, deep)
- writexml(self, writer, indent='', addindent='', newl='')
Data and other attributes defined here:
- internalSubset = None
- name = None
- nodeType = 10
- nodeValue = None
- publicId = None
- systemId = None
Methods inherited from Childless:
- appendChild(self, node)
- hasChildNodes(self)
- insertBefore(self, newChild, refChild)
- removeChild(self, oldChild)
- replaceChild(self, newChild, oldChild)
Data and other attributes inherited from Childless:
- attributes = None
- childNodes = ()
- firstChild = None
- lastChild = None
Methods inherited from Node:
- __nonzero__(self)
- getInterface(self, feature)
- getUserData(self, key)
- isSameNode(self, other)
- isSupported(self, feature, version)
- normalize(self)
- setUserData(self, key, data, handler)
- toprettyxml(self, indent='\t', newl='\n', encoding=None)
- toxml(self, encoding=None)
- unlink(self)
Properties inherited from Node:
- localName
- Namespace-local name of this node.
- get = _get_localName(self)
- set = set(self, value, name='localName')
Data and other attributes inherited from Node:
- namespaceURI = None
- nextSibling = None
- ownerDocument = None
- parentNode = None
- prefix = None
- previousSibling = None
Data and other attributes inherited from xml.dom.Node:
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
|
class Element(Node) |
| | |
- Method resolution order:
- Element
- Node
- xml.dom.Node
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- __init__(self, tagName, namespaceURI=None, prefix=None, localName=None)
- __repr__(self)
- getAttribute(self, attname)
- getAttributeNS(self, namespaceURI, localName)
- getAttributeNode(self, attrname)
- getAttributeNodeNS(self, namespaceURI, localName)
- getElementsByTagName(self, name)
- getElementsByTagNameNS(self, namespaceURI, localName)
- hasAttribute(self, name)
- hasAttributeNS(self, namespaceURI, localName)
- hasAttributes(self)
- removeAttribute(self, name)
- removeAttributeNS(self, namespaceURI, localName)
- removeAttributeNode(self, node)
- removeAttributeNodeNS = removeAttributeNode(self, node)
- setAttribute(self, attname, value)
- setAttributeNS(self, namespaceURI, qualifiedName, value)
- setAttributeNode(self, attr)
- setAttributeNodeNS = setAttributeNode(self, attr)
- setIdAttribute(self, name)
- setIdAttributeNS(self, namespaceURI, localName)
- setIdAttributeNode(self, idAttr)
- unlink(self)
- writexml(self, writer, indent='', addindent='', newl='')
Properties defined here:
- attributes
- NamedNodeMap of attributes on the element.
- get = _get_attributes(self)
- set = set(self, value, name='attributes')
- localName
- Namespace-local name of this element.
- get = _get_localName(self)
- set = set(self, value, name='localName')
Data and other attributes defined here:
- nodeType = 1
- nodeValue = None
- schemaType = <TypeInfo None>
Methods inherited from Node:
- __nonzero__(self)
- appendChild(self, node)
- cloneNode(self, deep)
- getInterface(self, feature)
- getUserData(self, key)
- hasChildNodes(self)
- insertBefore(self, newChild, refChild)
- isSameNode(self, other)
- isSupported(self, feature, version)
- normalize(self)
- removeChild(self, oldChild)
- replaceChild(self, newChild, oldChild)
- setUserData(self, key, data, handler)
- toprettyxml(self, indent='\t', newl='\n', encoding=None)
- toxml(self, encoding=None)
Properties inherited from Node:
- firstChild
- First child node, or None.
- get = _get_firstChild(self)
- set = set(self, value, name='firstChild')
- lastChild
- Last child node, or None.
- get = _get_lastChild(self)
- set = set(self, value, name='lastChild')
Data and other attributes inherited from Node:
- namespaceURI = None
- nextSibling = None
- ownerDocument = None
- parentNode = None
- prefix = None
- previousSibling = None
Data and other attributes inherited from xml.dom.Node:
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
|
class ElementInfo(__builtin__.object) |
| |
Object that represents content-model information for an element.
This implementation is not expected to be used in practice; DOM
builders should provide implementations which do the right thing
using information available to it. |
| |
Methods defined here:
- __getstate__(self)
- __init__(self, name)
- __setstate__(self, state)
- getAttributeType(self, aname)
- getAttributeTypeNS(self, namespaceURI, localName)
- isElementContent(self)
- isEmpty(self)
- Returns true iff this element is declared to have an EMPTY
content model.
- isId(self, aname)
- Returns true iff the named attribte is a DTD-style ID.
- isIdNS(self, namespaceURI, localName)
- Returns true iff the identified attribute is a DTD-style ID.
Data and other attributes defined here:
- __slots__ = ('tagName',)
- tagName = <member 'tagName' of 'ElementInfo' objects>
|
class Entity(Identified, Node) |
| | |
- Method resolution order:
- Entity
- Identified
- Node
- xml.dom.Node
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- __init__(self, name, publicId, systemId, notation)
- appendChild(self, newChild)
- insertBefore(self, newChild, refChild)
- removeChild(self, oldChild)
- replaceChild(self, newChild, oldChild)
Data and other attributes defined here:
- actualEncoding = None
- attributes = None
- encoding = None
- nodeType = 6
- nodeValue = None
- version = None
Methods inherited from Node:
- __nonzero__(self)
- cloneNode(self, deep)
- getInterface(self, feature)
- getUserData(self, key)
- hasChildNodes(self)
- isSameNode(self, other)
- isSupported(self, feature, version)
- normalize(self)
- setUserData(self, key, data, handler)
- toprettyxml(self, indent='\t', newl='\n', encoding=None)
- toxml(self, encoding=None)
- unlink(self)
Properties inherited from Node:
- firstChild
- First child node, or None.
- get = _get_firstChild(self)
- set = set(self, value, name='firstChild')
- lastChild
- Last child node, or None.
- get = _get_lastChild(self)
- set = set(self, value, name='lastChild')
- localName
- Namespace-local name of this node.
- get = _get_localName(self)
- set = set(self, value, name='localName')
Data and other attributes inherited from Node:
- namespaceURI = None
- nextSibling = None
- ownerDocument = None
- parentNode = None
- prefix = None
- previousSibling = None
Data and other attributes inherited from xml.dom.Node:
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
|
class Identified |
| |
Mix-in class that supports the publicId and systemId attributes. |
| |
|
class NamedNodeMap(__builtin__.object, xml.dom.minicompat.GetattrMagic) |
| |
The attribute list is a transient interface to the underlying
dictionaries. Mutations here will change the underlying element's
dictionary.
Ordering is imposed artificially and does not reflect the order of
attributes as found in an input document. |
| |
- Method resolution order:
- NamedNodeMap
- __builtin__.object
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- __cmp__(self, other)
- __delitem__(self, attname_or_tuple)
- __getitem__(self, attname_or_tuple)
- __getstate__(self)
- __init__(self, attrs, attrsNS, ownerElement)
- __len__ = _get_length(self)
- __setitem__(self, attname, value)
- # same as set
- __setstate__(self, state)
- get(self, name, value=None)
- getNamedItem(self, name)
- getNamedItemNS(self, namespaceURI, localName)
- has_key(self, key)
- item(self, index)
- items(self)
- itemsNS(self)
- keys(self)
- keysNS(self)
- removeNamedItem(self, name)
- removeNamedItemNS(self, namespaceURI, localName)
- setNamedItem(self, node)
- setNamedItemNS(self, node)
- values(self)
Properties defined here:
- length
- Number of nodes in the NamedNodeMap.
- get = _get_length(self)
- set = set(self, value, name='length')
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __slots__ = ('_attrs', '_attrsNS', '_ownerElement')
- __weakref__ = <attribute '__weakref__' of 'NamedNodeMap' objects>
- list of weak references to the object (if defined)
|
class Node(xml.dom.Node, xml.dom.minicompat.GetattrMagic) |
| | |
- Method resolution order:
- Node
- xml.dom.Node
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- __nonzero__(self)
- appendChild(self, node)
- cloneNode(self, deep)
- getInterface(self, feature)
- getUserData(self, key)
- hasChildNodes(self)
- insertBefore(self, newChild, refChild)
- isSameNode(self, other)
- isSupported(self, feature, version)
- normalize(self)
- removeChild(self, oldChild)
- replaceChild(self, newChild, oldChild)
- setUserData(self, key, data, handler)
- toprettyxml(self, indent='\t', newl='\n', encoding=None)
- toxml(self, encoding=None)
- unlink(self)
Properties defined here:
- firstChild
- First child node, or None.
- get = _get_firstChild(self)
- set = set(self, value, name='firstChild')
- lastChild
- Last child node, or None.
- get = _get_lastChild(self)
- set = set(self, value, name='lastChild')
- localName
- Namespace-local name of this node.
- get = _get_localName(self)
- set = set(self, value, name='localName')
Data and other attributes defined here:
- namespaceURI = None
- nextSibling = None
- ownerDocument = None
- parentNode = None
- prefix = None
- previousSibling = None
Data and other attributes inherited from xml.dom.Node:
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
|
class Notation(Identified, Childless, Node) |
| | |
- Method resolution order:
- Notation
- Identified
- Childless
- Node
- xml.dom.Node
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- __init__(self, name, publicId, systemId)
Data and other attributes defined here:
- nodeType = 12
- nodeValue = None
Methods inherited from Childless:
- appendChild(self, node)
- hasChildNodes(self)
- insertBefore(self, newChild, refChild)
- removeChild(self, oldChild)
- replaceChild(self, newChild, oldChild)
Data and other attributes inherited from Childless:
- attributes = None
- childNodes = ()
- firstChild = None
- lastChild = None
Methods inherited from Node:
- __nonzero__(self)
- cloneNode(self, deep)
- getInterface(self, feature)
- getUserData(self, key)
- isSameNode(self, other)
- isSupported(self, feature, version)
- normalize(self)
- setUserData(self, key, data, handler)
- toprettyxml(self, indent='\t', newl='\n', encoding=None)
- toxml(self, encoding=None)
- unlink(self)
Properties inherited from Node:
- localName
- Namespace-local name of this node.
- get = _get_localName(self)
- set = set(self, value, name='localName')
Data and other attributes inherited from Node:
- namespaceURI = None
- nextSibling = None
- ownerDocument = None
- parentNode = None
- prefix = None
- previousSibling = None
Data and other attributes inherited from xml.dom.Node:
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
|
class ProcessingInstruction(Childless, Node) |
| | |
- Method resolution order:
- ProcessingInstruction
- Childless
- Node
- xml.dom.Node
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- __init__(self, target, data)
- __setattr__(self, name, value)
- writexml(self, writer, indent='', addindent='', newl='')
Data and other attributes defined here:
- nodeType = 7
Methods inherited from Childless:
- appendChild(self, node)
- hasChildNodes(self)
- insertBefore(self, newChild, refChild)
- removeChild(self, oldChild)
- replaceChild(self, newChild, oldChild)
Data and other attributes inherited from Childless:
- attributes = None
- childNodes = ()
- firstChild = None
- lastChild = None
Methods inherited from Node:
- __nonzero__(self)
- cloneNode(self, deep)
- getInterface(self, feature)
- getUserData(self, key)
- isSameNode(self, other)
- isSupported(self, feature, version)
- normalize(self)
- setUserData(self, key, data, handler)
- toprettyxml(self, indent='\t', newl='\n', encoding=None)
- toxml(self, encoding=None)
- unlink(self)
Properties inherited from Node:
- localName
- Namespace-local name of this node.
- get = _get_localName(self)
- set = set(self, value, name='localName')
Data and other attributes inherited from Node:
- namespaceURI = None
- nextSibling = None
- ownerDocument = None
- parentNode = None
- prefix = None
- previousSibling = None
Data and other attributes inherited from xml.dom.Node:
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
|
class ReadOnlySequentialNamedNodeMap(__builtin__.object, xml.dom.minicompat.GetattrMagic) |
| | |
- Method resolution order:
- ReadOnlySequentialNamedNodeMap
- __builtin__.object
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- __getitem__(self, name_or_tuple)
- __getstate__(self)
- __init__(self, seq=())
- __len__(self)
- __setstate__(self, state)
- getNamedItem(self, name)
- getNamedItemNS(self, namespaceURI, localName)
- item(self, index)
- removeNamedItem(self, name)
- removeNamedItemNS(self, namespaceURI, localName)
- setNamedItem(self, node)
- setNamedItemNS(self, node)
Properties defined here:
- length
- Number of entries in the NamedNodeMap.
- get = _get_length(self)
- set = set(self, value, name='length')
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __slots__ = ('_seq',)
- __weakref__ = <attribute '__weakref__' of 'ReadOnlySequentialNamedNodeMap' objects>
- list of weak references to the object (if defined)
|
class Text(CharacterData) |
| | |
- Method resolution order:
- Text
- CharacterData
- Childless
- Node
- xml.dom.Node
- xml.dom.minicompat.GetattrMagic
Methods defined here:
- replaceWholeText(self, content)
- splitText(self, offset)
- writexml(self, writer, indent='', addindent='', newl='')
Properties defined here:
- isWhitespaceInElementContent
- True iff this text node contains only whitespace and is in element content.
- get = _get_isWhitespaceInElementContent(self)
- set = set(self, value, name='isWhitespaceInElementContent')
- wholeText
- The text of all logically-adjacent text nodes.
- get = _get_wholeText(self)
- set = set(self, value, name='wholeText')
Data and other attributes defined here:
- attributes = None
- nodeName = '#text'
- nodeType = 3
Methods inherited from CharacterData:
- __len__ = _get_length(self)
- __repr__(self)
- __setattr__(self, name, value)
- appendData(self, arg)
- deleteData(self, offset, count)
- insertData(self, offset, arg)
- replaceData(self, offset, count, arg)
- substringData(self, offset, count)
Properties inherited from CharacterData:
- length
- Length of the string data.
- get = _get_length(self)
- set = set(self, value, name='length')
Methods inherited from Childless:
- appendChild(self, node)
- hasChildNodes(self)
- insertBefore(self, newChild, refChild)
- removeChild(self, oldChild)
- replaceChild(self, newChild, oldChild)
Data and other attributes inherited from Childless:
- childNodes = ()
- firstChild = None
- lastChild = None
Methods inherited from Node:
- __nonzero__(self)
- cloneNode(self, deep)
- getInterface(self, feature)
- getUserData(self, key)
- isSameNode(self, other)
- isSupported(self, feature, version)
- normalize(self)
- setUserData(self, key, data, handler)
- toprettyxml(self, indent='\t', newl='\n', encoding=None)
- toxml(self, encoding=None)
- unlink(self)
Properties inherited from Node:
- localName
- Namespace-local name of this node.
- get = _get_localName(self)
- set = set(self, value, name='localName')
Data and other attributes inherited from Node:
- namespaceURI = None
- nextSibling = None
- ownerDocument = None
- parentNode = None
- prefix = None
- previousSibling = None
Data and other attributes inherited from xml.dom.Node:
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
|
class TypeInfo(__builtin__.object) |
| | |
Methods defined here:
- __init__(self, namespace, name)
- __repr__(self)
Data and other attributes defined here:
- __slots__ = ('namespace', 'name')
- name = <member 'name' of 'TypeInfo' objects>
- namespace = <member 'namespace' of 'TypeInfo' objects>
| |