Table of Contents

Class: XMINode ./src/peak/storage/xmi.py
Base Classes   
object
Methods   
__init__
_setNS
_xml_addChild
_xml_addLiteral
_xml_addText
_xml_finish
_xml_newTag
findNode
getAny
getEnumTypeCode
getExceptionTypeCode
getId
getRef
getStructTypeCode
getTypeCode
getUnionTypeCode
getValue
stateForClass
writeTo
  __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 )


Table of Contents

This document was automatically generated on Mon Nov 11 01:11:05 2024 by HappyDoc version 2.1