Home | Trees | Indices | Help |
|
---|
|
object --+ | elementRepresentative.ElementRepresentative --+ | XsdType
|
|||
|
__init__(self,
xsdElement,
parent) The __init__ for this class' subclasses. |
||
|
getContainingTypeName(self) Since all types are containing types, this method returns its own name. |
||
|
getContainingType(self) All types are containing types, so this works for all of the XSD types. |
||
|
getName(self) Mostly normal getName(), except it includes a means to make a type name if the type is the child of an element or some other tag. |
||
|
containsSchemaBase(self,
bases) Returns true if SchemaBase is in the bases list, false if it is not. |
||
|
getBaseList(self,
pyXSD) Creates blank list for the base classes. |
||
|
getElements(self) Returns a blank list. |
||
|
clsFor(self,
pyXSD) Produces a class for a schema type. |
||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
|
Since all types are containing types, this method returns its own name. No parameters. |
All types are containing types, so this works for all of the XSD types. No parameters. |
Mostly normal getName(), except it includes a means to make a type name if the type is the child of an element or some other tag. That name should look like this:
No parameters |
Returns true if SchemaBase is in the bases list, false if it is not. Used by getBaseList() Parameters:
|
Creates blank list for the base classes. It goes through the list of super classes to be added (all type classes), and adds them. Adds SchemaBase, if it is not already added. Returns the list as a tuple, since the type factory must have the bases stored in a tuple, not a list. Parameters:
|
Returns a blank list. Subclasses uses this function to return elements, but this function is called elsewhere on all of the types. No parameters. |
Produces a class for a schema type. In this class, because this function is only makes classes for tag types that are subclasses of XsdType. Adds functions to the class dictionary to get elements and attributes later on. Calls getBaseList() to generate the list of bases. SchemaBase is in every base list, which will come into play after the class generation. Adds the name and the doc string to the dictionary. Adds the instance of PyXSD to all attributes, elements, and the class dictionary, so it can be accessed later on. In future versions, hopefully this operation will be done in a metaclass. Parameters:
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Thu Sep 07 21:19:40 2006 | http://epydoc.sourceforge.net |