def __init__(self, xsdElement, parent): """ See *ElementRepresentative* for documentation. """ ElementRepresentative.__init__(self, xsdElement, parent) self.addSuperClassName(self.tagAttributes['base'])
def __init__(self, xsdElement, parent): """ See *ElementRepresentative* for documentation. """ ElementRepresentative.__init__(self, xsdElement, parent) self.addSuperClassName(self.tagAttributes['base'])
def __init__(self, xsdElement, parent): """ Adds itself to the attribute dictionary in its containing type. See *ElementRepresentative* for documentation. """ ElementRepresentative.__init__(self, xsdElement, parent) self.getContainingType().attributes[self.name] = self
def __init__(self, xsdElement, parent): """ See *ElementRepresentative* for documentation. """ ElementRepresentative.__init__(self, xsdElement, parent) self.value = self.xsdElement.get('value') self.getContainingType().maxInclusive = self.value
def __init__(self, xsdElement, parent): """ See *ElementRepresentative* for documentation. """ ElementRepresentative.__init__(self, xsdElement, parent) self.value = self.xsdElement.get('value') self.getContainingType().maxInclusive = self.value
def __init__(self, xsdElement, parent): """ Adds itself to the element list in its parent. See *ElementRepresentative* for documentation. """ ElementRepresentative.__init__(self, xsdElement, parent) parent.elements.append(self)
def __init__(self, xsdElement, parent): """ See *ElementRepresentative* for documentation. Adds its documentation to the __doc__ field for the ER. """ ElementRepresentative.__init__(self, xsdElement, parent) self.contType = self.getContainingType() self.contType.__doc__ = xsdElement.text.strip()
def __init__(self, xsdElement, parent): """ See *ElementRepresentative* for documentation. """ ElementRepresentative.__init__(self, xsdElement, parent) self.value = self.xsdElement.get('value') self.getContainingType().enumerations.append(self.value)
def __init__(self, xsdElement, parent): """ See *ElementRepresentative* for documentation. """ ElementRepresentative.__init__(self, xsdElement, parent) self.value = self.xsdElement.get('value') self.getContainingType().enumerations.append(self.value)
def __init__(self, xsdElement, parent): """ Adds itself to the element list in its parent. See *ElementRepresentative* for documentation. """ ElementRepresentative.__init__(self, xsdElement, parent) parent.elements.append(self)
def __init__(self, xsdElement, parent): """ See *ElementRepresentative* for documentation. """ ElementRepresentative.__init__(self, xsdElement, parent) self.itemType = self.xsdElement.get('itemType') self.getContainingType().listItemType = self.itemType self.type = 'xs:list' #the 'xs' is used so that it can be properly identified as a primitive data type later on
def __init__(self, xsdElement, parent): """ Adds itself to the sequencesOrChoices list in its containing complexType. Makes a blank list for element children. Uses the ER '__init__`. See *ElementRepresentative* for more documentation. """ self. elements = [] ElementRepresentative.__init__(self, xsdElement, parent) self.getContainingType().sequencesOrChoices.append(self)
def __init__(self, xsdElement, parent): """ Adds itself to the sequencesOrChoices list in its containing complexType. Makes a blank list for element children. Uses the ER '__init__`. See *ElementRepresentative* for more documentation. """ self.elements = [] ElementRepresentative.__init__(self, xsdElement, parent) self.getContainingType().sequencesOrChoices.append(self)
def __init__(self, xsdElement, parent): """ The `__init__` for this class' subclasses. Creates a blank list for enumerations. Creates a blank dictionary for attributes. See *ElementRepresentative* for documentation. """ self.enumerations = [] self.attributes = {} ElementRepresentative.__init__(self, xsdElement, parent)
def __init__(self, xsdElement, parent): """ The `__init__` for this class' subclasses. Creates a blank list for enumerations. Creates a blank dictionary for attributes. See *ElementRepresentative* for documentation. """ self.enumerations = [] self.attributes = {} ElementRepresentative.__init__(self, xsdElement, parent)
def __init__(self, xsdElement, parent): """ Creates a dictionary for attributes. Adds itself to the attribute group dictionary in schema. See *ElementRepresentative* for more documentation. """ self.attributes = {} ElementRepresentative.__init__(self, xsdElement, parent) attrGroupContainer = self.parent.getContainingType() attrGroupContainer.attributeGroups[self.name] = self self.getSchema().attributeGroups[self.name] = self
def __init__(self, xsdElement, parent): """ Creates a dictionary for attributes. Adds itself to the attribute group dictionary in schema. See *ElementRepresentative* for more documentation. """ self.attributes = {} ElementRepresentative.__init__(self, xsdElement, parent) attrGroupContainer = self.parent.getContainingType() attrGroupContainer.attributeGroups[self.name] = self self.getSchema().attributeGroups[self.name] = self
def __init__(self, xsdElement, parent): """ See *ElementRepresentative* for documentation. """ ElementRepresentative.__init__(self, xsdElement, parent)
def __init__(self, xsdElement, parent): """ See *ElementRepresentative* for documentation. """ ElementRepresentative.__init__(self, xsdElement, parent)