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.
|
|
__init__(self,
name)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
| getAttributeType(self,
aname) |
|
|
|
|
| getAttributeTypeNS(self,
namespaceURI,
localName) |
|
|
|
|
|
|
|
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. |
|
|
|
|
|
|
|
| __setstate__(self,
state) |
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|