xml.dom.minidom.ElementInfo
¶
-
class
xml.dom.minidom.
ElementInfo
(name)[source]¶ 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¶
__format__ |
default object formatter |
__getstate__ () |
|
__init__ (name) |
|
__new__ ((S, ...) |
|
__reduce__ |
helper for pickle |
__reduce_ex__ |
helper for pickle |
__setstate__ (state) |
|
__sizeof__ (() -> int) |
size of object in memory, in bytes |
__subclasshook__ |
Abstract classes can override this to customize issubclass(). |
getAttributeType (aname) |
|
getAttributeTypeNS (namespaceURI, localName) |
|
isElementContent () |
|
isEmpty () |
Returns true iff this element is declared to have an EMPTY content model. |
isId (aname) |
Returns true iff the named attribute is a DTD-style ID. |
isIdNS (namespaceURI, localName) |
Returns true iff the identified attribute is a DTD-style ID. |