Home | Trees | Indices | Help |
|
---|
|
object --+ | elementRepresentative.ElementRepresentative --+ | Pattern
|
|||
|
__init__(self,
xsdElement,
parent) See ElementRepresentative for documentation. |
||
|
getName(self) Makes a name like this- ContainingTypeName`|pattern|`an id number .
|
||
Inherited from |
|||
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. |
|
|||
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. |
|
|||
Inherited from elementRepresentative.ElementRepresentative | |||
---|---|---|---|
|
tryConvert(variable) Tries to convert a variable from a string in the xsd to a python value. |
|
|||
Inherited from |
|
|
ContainingTypeName`|pattern|`an id number .
The name on this class is used for almost nothing.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Thu Sep 07 21:19:39 2006 | http://epydoc.sourceforge.net |