Methods
|
|
|
|
__init__
|
__init__ (
self,
parent=None,
name='',
atts={},
)
|
|
_setNS
|
_setNS ( self, ns2uri )
|
|
_xml_addChild
|
_xml_addChild ( self, node )
|
|
_xml_addLiteral
|
_xml_addLiteral ( self, text )
|
|
_xml_addText
|
_xml_addText ( self, text )
|
|
_xml_finish
|
_xml_finish ( self )
|
|
_xml_newTag
|
_xml_newTag (
self,
name,
attrs,
newPrefixes,
parser,
)
|
|
findNode
|
findNode ( self, name )
|
|
getAny
|
getAny (
self,
feature,
dm,
)
Exceptions
|
|
ValueError( "Can't handle non-primitive 'XMI.any' type", kind )
|
|
|
getEnumTypeCode
|
getEnumTypeCode (
self,
feature,
dm,
)
Exceptions
|
|
ValueError( 'Invalid tag in enumeration typecode' )
|
|
|
getExceptionTypeCode
|
getExceptionTypeCode (
self,
feature,
dm,
)
|
|
getId
|
getId ( self )
|
|
getRef
|
getRef ( self )
Exceptions
|
|
NotImplementedError( "Can't handle href yet" )
|
|
|
getStructTypeCode
|
getStructTypeCode (
self,
feature,
dm,
)
|
|
getTypeCode
|
getTypeCode (
self,
feature,
dm,
)
Exceptions
|
|
AssertionError( "Impossible typecode kind", kind )
ValueError( "Don't know how to handle type code kind", tag )
ValueError( "XMI.CorbaTypeCode tag must contain exactly one tag" )
|
|
|
getUnionTypeCode
|
getUnionTypeCode (
self,
feature,
dm,
)
|
|
getValue
|
getValue (
self,
feature,
dm,
)
Exceptions
|
|
ValueError( "Don't know how to handle", node._name )
|
|
|
stateForClass
|
stateForClass (
self,
klass,
dm,
)
Exceptions
|
|
ValueError( "Multi-valued feature coded as attribute", attr, val )
|
|
|
writeTo
|
writeTo ( self, indStrm )
|
|