Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Private Attributes
xml.dom.minidom.ElementInfo Class Reference
Inheritance diagram for xml.dom.minidom.ElementInfo:
Inheritance graph
[legend]
Collaboration diagram for xml.dom.minidom.ElementInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def getAttributeType
def getAttributeTypeNS
def isElementContent
def isEmpty
def isId
def isIdNS
def __getstate__
def __setstate__

Public Attributes

 tagName
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Static Private Attributes

string __slots__ = 'tagName'

Detailed Description

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.

Definition at line 1450 of file minidom.py.


Constructor & Destructor Documentation

def xml.dom.minidom.ElementInfo.__init__ (   self,
  name 
)

Definition at line 1461 of file minidom.py.

01461 
01462     def __init__(self, name):
01463         self.tagName = name

Here is the caller graph for this function:


Member Function Documentation

Definition at line 1486 of file minidom.py.

01486 
01487     def __getstate__(self):
01488         return self.tagName

def xml.dom.minidom.ElementInfo.__setstate__ (   self,
  state 
)

Definition at line 1489 of file minidom.py.

01489 
01490     def __setstate__(self, state):
01491         self.tagName = state

def xml.dom.minidom.ElementInfo.getAttributeType (   self,
  aname 
)

Definition at line 1464 of file minidom.py.

01464 
01465     def getAttributeType(self, aname):
01466         return _no_type

def xml.dom.minidom.ElementInfo.getAttributeTypeNS (   self,
  namespaceURI,
  localName 
)

Definition at line 1467 of file minidom.py.

01467 
01468     def getAttributeTypeNS(self, namespaceURI, localName):
01469         return _no_type

Definition at line 1470 of file minidom.py.

01470 
01471     def isElementContent(self):
01472         return False

Returns true iff this element is declared to have an EMPTY
content model.

Definition at line 1473 of file minidom.py.

01473 
01474     def isEmpty(self):
01475         """Returns true iff this element is declared to have an EMPTY
01476         content model."""
01477         return False

def xml.dom.minidom.ElementInfo.isId (   self,
  aname 
)
Returns true iff the named attribute is a DTD-style ID.

Definition at line 1478 of file minidom.py.

01478 
01479     def isId(self, aname):
01480         """Returns true iff the named attribute is a DTD-style ID."""
01481         return False

def xml.dom.minidom.ElementInfo.isIdNS (   self,
  namespaceURI,
  localName 
)
Returns true iff the identified attribute is a DTD-style ID.

Definition at line 1482 of file minidom.py.

01482 
01483     def isIdNS(self, namespaceURI, localName):
01484         """Returns true iff the identified attribute is a DTD-style ID."""
01485         return False


Member Data Documentation

Definition at line 1459 of file minidom.py.

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

Definition at line 1462 of file minidom.py.


The documentation for this class was generated from the following file: