Package pyxsd :: Package elementRepresentatives :: Module attributeGroup :: Class AttributeGroup
[hide private]
[frames] | no frames]

Class AttributeGroup

source code

                                 object --+    
                                          |    
elementRepresentative.ElementRepresentative --+
                                              |
                                             AttributeGroup

The class for the Extension tag. Subclass of ElementRepresentative. At the current time, attributeGroups may not be fully used in the program. If your schema uses AttributeGroup, you might check to make sure that they are being used correctly.

Instance Methods [hide private]
  __init__(self, xsdElement, parent)
Creates a dictionary for attributes.
  getContainingType(self)
Returns self, because Attribute groups are containg types.

Inherited from elementRepresentative.ElementRepresentative: __str__, addSuperClassName, checkTopLevelType, describe, findLayerNum, getContainingTypeName, getName, getSchema, processChildren

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


Class Methods [hide private]

Inherited from elementRepresentative.ElementRepresentative: classNameFor, factory, getFromName, register, typeFromName


Static Methods [hide private]

Inherited from elementRepresentative.ElementRepresentative: tryConvert


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, xsdElement, parent)
(Constructor)

source code 
Creates a dictionary for attributes. Adds itself to the attribute group dictionary in schema. See ElementRepresentative for more documentation.
Overrides: elementRepresentative.ElementRepresentative.__init__

getContainingType(self)

source code 

Returns self, because Attribute groups are containg types.

No parameters

Overrides: elementRepresentative.ElementRepresentative.getContainingType