/ . / BuildStructure / SOAPpy / wstools / XMLSchema.py / XMLSchemaComponent
Schema Components
Methods
|
|
|
__checkAttributes
|
__checkAttributes ( self )
Exceptions
|
|
SchemaError, '%s, unknown attribute(%s,%s)' %(self.getItemTrace(), a, self.attributes [ a ] )
SchemaError, 'class instance %s, missing required attribute %s' %( self.__class__, a )
|
|
|
getContents
|
getContents ( self, node )
|
|
getXMLNS
|
getXMLNS ( self, prefix=None )
Exceptions
|
|
SchemaError, 'unknown prefix %s' % prefix
|
|
|
getAttributeGroup
|
getAttributeGroup ( self, attribute )
|
|
getElementDeclaration
|
getElementDeclaration ( self, attribute )
|
|
getAttribute
|
getAttribute ( self, attribute )
|
|
getQNameAttribute
|
getQNameAttribute (
self,
collection,
attribute,
)
Exceptions
|
|
KeyError, "targetNamespace(%s) collection(%s) has no item(%s)" %( targetNamespace, collection, item )
|
|
|
getAttributeDeclaration
|
getAttributeDeclaration ( self, attribute )
|
|
getTargetNamespace
|
getTargetNamespace ( self )
|
|
getItemTrace
|
getItemTrace ( self )
|
|
__init__
|
__init__ ( self, parent=None )
Exceptions
|
|
RuntimeError, 'Bad type for a class variable in %s' % self.__class__
|
|
|
__setAttributeDefaults
|
__setAttributeDefaults ( self )
|
|
setAttributes
|
setAttributes ( self, node )
Exceptions
|
|
SchemaError, 'attribute %s declared multiple times in %s' %( value, ns )
SchemaError, 'no namespace for attribute prefix %s' % prefix
SchemaError, 'attribute %s declared multiple times' % value
|
|
|
getModelGroup
|
getModelGroup ( self, attribute )
|
|
getTypeDefinition
|
getTypeDefinition ( self, attribute )
|
|
|