Package pywbem :: Module cim_xml :: Class INSTANCENAME
[frames] | no frames]

Class INSTANCENAME

source code

    xml.dom.Node --+            
                   |            
xml.dom.minidom.Node --+        
                       |        
 xml.dom.minidom.Element --+    
                           |    
                  CIMElement --+
                               |
                              INSTANCENAME


The INSTANCENAME element defines the location of a CIM Instance
within a Namespace (it is referred to in the CIM Specification
as a Model Path). It is comprised of a class name and a key
binding information.

If the Class has a single key property, then a single KEYVALUE or
VALUE.REFERENCE subelement may be used to describe the
(necessarily) unique key value without a key name. Alternatively a
single KEYBINDING subelement may be used instead.

If the Class has more than one key property, then a KEYBINDING
subelement MUST appear for each key.

If there are no key-bindings specified, the instance is assumed to
be a singleton instance of a keyless Class.

<!ELEMENT INSTANCENAME (KEYBINDING* | KEYVALUE? | VALUE.REFERENCE?)>
<!ATTLIST INSTANCENAME
    %ClassName;>

Instance Methods
 
__init__(self, classname, data) source code

Inherited from CIMElement: appendChildren, appendOptionalChild, setName, setOptionalAttribute

Inherited from xml.dom.minidom.Element: __repr__, getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, hasAttributes, removeAttribute, removeAttributeNS, removeAttributeNode, removeAttributeNodeNS, setAttribute, setAttributeNS, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNS, setIdAttributeNode, unlink, writexml

Inherited from xml.dom.minidom.Node: __nonzero__, appendChild, cloneNode, getInterface, getUserData, hasChildNodes, insertBefore, isSameNode, isSupported, normalize, removeChild, replaceChild, setUserData, toprettyxml, toxml

Class Variables

Inherited from xml.dom.minidom.Element: nodeType, nodeValue, schemaType

Inherited from xml.dom.minidom.Node: namespaceURI, nextSibling, ownerDocument, parentNode, prefix, previousSibling

Inherited from xml.dom.Node: ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE

Properties

Inherited from xml.dom.minidom.Element: attributes, localName

Inherited from xml.dom.minidom.Node: firstChild, lastChild

Method Details

__init__(self, classname, data)
(Constructor)

source code 
Overrides: xml.dom.minidom.Element.__init__