Package xml :: Package dom :: Module minidom :: Class ElementInfo
[hide private]
[frames] | no frames]

Class ElementInfo

object --+
         |
        ElementInfo

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.

Instance Methods [hide private]
 
__init__(self, name)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
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.
 
__getstate__(self)
 
__setstate__(self, state)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]
  tagName

Inherited from object: __class__

Method Details [hide private]

__init__(self, name)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)