Package pyxsd :: Package elementRepresentatives :: Module minExclusive :: Class MinExclusive
[hide private]
[frames] | no frames]

Class MinExclusive

source code

                                 object --+    
                                          |    
elementRepresentative.ElementRepresentative --+
                                              |
                                             MinExclusive

The class for the MaxInclusive tag. Subclass of ElementRepresentative.

Instance Methods [hide private]
  __init__(self, xsdElement, parent)
See ElementRepresentative for documentation.
  getName(self)
Makes a name like this- `ContainingTypeName`|minExclusive.

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

    Inherited from elementRepresentative.ElementRepresentative
  __str__(self)
sets the str() function to print the ER information for a tag in the form: ClassName[TagName]
  addSuperClassName(self, name)
Adds a base class name to containing type for a particular element.
  checkTopLevelType(self)
Checks to see if an element is at the top-level.
  describe(self)
A debugging function that prints out the contents of the dictionary.
  findLayerNum(self)
Called by the ER __init__.
  getContainingType(self)
Returns the parent's getContainingType() function.
  getContainingTypeName(self)
Returns the name of the containingType.
  getSchema(self)
This method returns the parent's getSchema() function.
  processChildren(self)
Calls the factory on all of the children of an element.

Class Methods [hide private]
    Inherited from elementRepresentative.ElementRepresentative
  classNameFor(cls, xsdElement, parent)
returns the name of the class that the factory should find.
  factory(cls, xsdElement, parent)
A classmethod.
  getFromName(cls, name)
Retrieve an entry in the registry by its name.
  register(cls, name, obj)
The registry stores all ER objs in a dictionary with their name as a key.
  typeFromName(cls, xsdTypeName, pyXSD)
A classmethod.

Static Methods [hide private]
    Inherited from elementRepresentative.ElementRepresentative
  tryConvert(variable)
Tries to convert a variable from a string in the xsd to a python value.

Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, xsdElement, parent)
(Constructor)

source code 
See ElementRepresentative for documentation.
Overrides: elementRepresentative.ElementRepresentative.__init__

getName(self)

source code 
Makes a name like this- `ContainingTypeName`|minExclusive. The name on this class is used for almost nothing.
Overrides: elementRepresentative.ElementRepresentative.getName