org.sblim.cimclient.internal.cimxml
Class CIMXMLBuilderImpl

java.lang.Object
  extended by org.sblim.cimclient.internal.cimxml.CIMXMLBuilderImpl

public class CIMXMLBuilderImpl
extends java.lang.Object

Class CIMXMLBuilderImpl is the core class for building CIM-XML documents.


Constructor Summary
CIMXMLBuilderImpl()
           
 
Method Summary
static java.lang.String[] cimObjectArrayToXMLString(java.lang.Object pObj)
          cimObjectArrayToXMLString - for embedded object support
static java.lang.String cimObjectToXMLString(java.lang.Object pObj)
          cimObjectToXMLString - for embedded object support
static org.w3c.dom.Element createCIM(org.w3c.dom.Document pDoc)
          createCIM
static org.w3c.dom.Element createCLASS(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMClass pClass)
          createCLASS
static org.w3c.dom.Element createCLASS(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName, java.lang.String pSuperClass)
          createCLASS
static org.w3c.dom.Element createCLASSNAME(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName)
          createCLASSNAME
static org.w3c.dom.Element createCLASSPATH(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMObjectPath pPath)
          createCLASSPATH
static org.w3c.dom.Element createERROR(org.w3c.dom.Document doc, org.w3c.dom.Element parentE, CIMError error)
          createERROR
static org.w3c.dom.Element createEXPMETHODRESPONSE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName)
          createEXPMETHODRESPONSE
static org.w3c.dom.Element createHOST(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pHost)
          createHOST
static org.w3c.dom.Element createIMETHODCALL(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName)
          createIMETHODCALL
static org.w3c.dom.Element createIMETHODRESPONSE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName)
          createIMETHODRESPONSE
static org.w3c.dom.Element createIndication_response(org.w3c.dom.Document doc, java.lang.String ID, CIMError error)
          createIndication_response
static org.w3c.dom.Element createINSTANCE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMInstance pInstance)
          createINSTANCE
static org.w3c.dom.Element createINSTANCE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pClassName)
          createINSTANCE
static org.w3c.dom.Element createINSTANCENAME(org.w3c.dom.Document doc, org.w3c.dom.Element parentE, CIMObjectPath instanceOP)
          createINSTANCENAME
static org.w3c.dom.Element createINSTANCENAME(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pClassName)
          createINSTANCENAME
static org.w3c.dom.Element createINSTANCEPATH(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMObjectPath pPath)
          createINSTANCEPATH
static org.w3c.dom.Element createIPARAMVALUE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName)
          createIPARAMVALUE
static org.w3c.dom.Element createIRETURNVALUE_ASSOCIATORS_NAMES(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMObjectPath[] pResultSet)
          createIRETURNVALUE_ASSOCIATORS_NAMES
static org.w3c.dom.Element createIRETURNVALUE_ASSOCIATORS(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.Object[] pResultSet, java.lang.String pNameSpace)
          createIRETURNVALUE_ASSOCIATORS
static org.w3c.dom.Element createIRETURNVALUE_ENUMERATE_CLASSNAME(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMClass[] pResultSet)
          createIRETURNVALUE_ENUMERATE_CLASSNAME
static org.w3c.dom.Element createIRETURNVALUE_ENUMERATE_INSTANCE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMInstance[] pResultSet)
          createIRETURNVALUE_ENUMERATE_INSTANCE
static org.w3c.dom.Element createIRETURNVALUE_ENUMERATE_INSTANCENAME(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.Object[] pResultSet, java.lang.String pNameSpace)
          createIRETURNVALUE_ENUMERATE_INSTANCENAME
static org.w3c.dom.Element createIRETURNVALUE_ERROR(org.w3c.dom.Document doc, org.w3c.dom.Element parentE, CIMError error)
          createIRETURNVALUE_ERROR
static org.w3c.dom.Element createIRETURNVALUE_GETINSTANCE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMInstance pInst)
          createIRETURNVALUE_GETINSTANCE
static org.w3c.dom.Element createIRETURNVALUE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE)
          createIRETURNVALUE
static org.w3c.dom.Element createIRETURNVALUE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.Object[] pResultSet)
          createIRETURNVALUE
static org.w3c.dom.Element createKEYBINDING(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName)
          createKEYBINDING
static org.w3c.dom.Element createKEYVALUE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pValueType, java.lang.String pValue)
          createKEYVALUE
static org.w3c.dom.Element createLOCALCLASSPATH(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMObjectPath pPath)
          createLOCALCLASSPATH
static org.w3c.dom.Element createLOCALINSTANCEPATH(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE)
          createLOCALINSTANCEPATH
static org.w3c.dom.Element createLOCALINSTANCEPATH(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMObjectPath pPath)
          createLOCALINSTANCEPATH
static org.w3c.dom.Element createLOCALNAMESPACEPATH(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMObjectPath pName)
          createLOCALNAMESPACEPATH
static org.w3c.dom.Element createLOCALOBJECTPATH(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMObjectPath pPath)
          createLOCALOBJECTPATH
static org.w3c.dom.Element createMESSAGE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pId, java.lang.String pProtocolVersion)
          createMESSAGE
static org.w3c.dom.Element createMETHOD(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMMethod<?> pMethod, java.lang.String pClassName)
          createMETHOD
static org.w3c.dom.Element createMETHODCALL(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName, java.lang.String pParamtype)
          createMETHODCALL
static org.w3c.dom.Element createMETHODRESPONSE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName)
          createMETHODRESPONSE
static void createMETHODS(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMMethod<?>[] pMethods, java.lang.String pClassName)
          createMETHODS
static org.w3c.dom.Element createMULTIREQ(org.w3c.dom.Document pDoc)
          createMULTIREQ
static org.w3c.dom.Element createNAMESPACE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName)
          createNAMESPACE
static org.w3c.dom.Element createNAMESPACEPATH(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMObjectPath pPath)
          createNAMESPACEPATH
static org.w3c.dom.Element createOBJECTNAME(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMObjectPath pPath)
          createOBJECTNAME
static org.w3c.dom.Element createOBJECTPATH(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMObjectPath pPath)
          createOBJECTPATH
static org.w3c.dom.Element createPARAMETER(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMParameter<?> pParameter)
          createPARAMETER
static void createPARAMETERS(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMParameter<?>[] pParameters)
          createPARAMETERS
static org.w3c.dom.Element createPARAMVALUE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMArgument<?> pArg)
          createPARAMVALUE
static void createPROPERTIES(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMProperty<?>[] pProperties)
          createPROPERTIES
static org.w3c.dom.Element createPROPERTY(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMProperty<?> pProperty)
          createPROPERTY
static org.w3c.dom.Element createPROPERTY(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName, java.lang.String pType)
          createPROPERTY
static org.w3c.dom.Element createPROPERTYARRAY(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName, java.lang.String pType)
          createPROPERTYARRAY
static org.w3c.dom.Element createPROPERTYREFERENCE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName, java.lang.String pReferenceclass)
          createPROPERTYREFERENCE
static org.w3c.dom.Element createQUALIFIER_DECLARATION(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMQualifierType<?> pQualifierType)
          createQUALIFIER_DECLARATION
static org.w3c.dom.Element createQUALIFIER(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMQualifier<?> pQualifier)
          createQUALIFIER
static org.w3c.dom.Element createQUALIFIER(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pName, java.lang.String pType)
          createQUALIFIER
static void createQUALIFIERS(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMQualifier<?>[] pQualifiersA)
          createQUALIFIERS
static org.w3c.dom.Element createRETURNVALUE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.Object pValue)
           !ELEMENT RETURNVALUE (VALUE | VALUE.REFERENCE) !ATTLIST RETURNVALUE %ParamType; #IMPLIED
static org.w3c.dom.Element createSIMPLEEXPRSP(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE)
          createSIMPLEEXPRSP
static org.w3c.dom.Element createSIMPLEREQ(org.w3c.dom.Document pDoc)
          createSIMPLEREQ
static org.w3c.dom.Element createSIMPLEREQ(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE)
          createSIMPLEREQ
static org.w3c.dom.Element createSIMPLERSP(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE)
          createSIMPLERSP
static org.w3c.dom.Element createVALUE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE)
          createVALUE
static org.w3c.dom.Element createVALUE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, boolean pValue)
          createVALUE
static org.w3c.dom.Element createVALUE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.Object pArgValue)
          createVALUE
static org.w3c.dom.Element createVALUE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.String pValue)
          createVALUE
static org.w3c.dom.Element createVALUEARRAY(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE)
          createVALUEARRAY
static org.w3c.dom.Element createVALUEARRAY(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.Object[] pValA)
          createVALUEARRAY
static org.w3c.dom.Element createVALUENAMEDINSTANCE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMInstance pInst)
          createVALUENAMEDINSTANCE
static org.w3c.dom.Element createVALUENAMEDINSTANCE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMObjectPath pPath, CIMInstance pInst)
          createVALUENAMEDINSTANCE
static org.w3c.dom.Element createVALUEOBJECTWITHLOCALPATH(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.Object pObj, java.lang.String pNameSpace)
          createVALUEOBJECTWITHLOCALPATH
static org.w3c.dom.Element createVALUEOBJECTWITHPATH(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, java.lang.Object pObj, java.lang.String pNameSpace)
          createVALUEOBJECTWITHPATH
static org.w3c.dom.Element createVALUEREFARRAY(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE)
          createVALUEREFARRAY
static org.w3c.dom.Element createVALUEREFERENCE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE)
          createVALUEREFERENCE
static org.w3c.dom.Element createVALUEREFERENCE(org.w3c.dom.Document pDoc, org.w3c.dom.Element pParentE, CIMObjectPath pPath)
          createVALUEREFERENCE
static java.lang.String getEmbObjTypeStr(CIMDataType pType)
          getEmbObjTypeStr
static java.lang.String getOpTypeStr(CIMDataType pType)
          getOpTypeStr
static java.lang.String getTypeStr(CIMDataType pType)
          getTypeStr
static boolean isCIMObject(CIMDataType pType)
          isCIMObject
static boolean isCIMObject(int typeCode)
          isCIMObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CIMXMLBuilderImpl

public CIMXMLBuilderImpl()
Method Detail

createCIM

public static org.w3c.dom.Element createCIM(org.w3c.dom.Document pDoc)
createCIM

Parameters:
pDoc -
Returns:
Element

createVALUE

public static org.w3c.dom.Element createVALUE(org.w3c.dom.Document pDoc,
                                              org.w3c.dom.Element pParentE)
createVALUE

Parameters:
pDoc -
pParentE -
Returns:
Element

createVALUE

public static org.w3c.dom.Element createVALUE(org.w3c.dom.Document pDoc,
                                              org.w3c.dom.Element pParentE,
                                              java.lang.String pValue)
createVALUE

Parameters:
pDoc -
pParentE -
pValue -
Returns:
Element

createVALUE

public static org.w3c.dom.Element createVALUE(org.w3c.dom.Document pDoc,
                                              org.w3c.dom.Element pParentE,
                                              boolean pValue)
createVALUE

Parameters:
pDoc -
pParentE -
pValue -
Returns:
Element

createVALUEARRAY

public static org.w3c.dom.Element createVALUEARRAY(org.w3c.dom.Document pDoc,
                                                   org.w3c.dom.Element pParentE)
createVALUEARRAY

Parameters:
pDoc -
pParentE -
Returns:
Element

createVALUEREFERENCE

public static org.w3c.dom.Element createVALUEREFERENCE(org.w3c.dom.Document pDoc,
                                                       org.w3c.dom.Element pParentE)
createVALUEREFERENCE

Parameters:
pDoc -
pParentE -
Returns:
Element

createVALUEREFARRAY

public static org.w3c.dom.Element createVALUEREFARRAY(org.w3c.dom.Document pDoc,
                                                      org.w3c.dom.Element pParentE)
createVALUEREFARRAY

Parameters:
pDoc -
pParentE -
Returns:
Element

createPROPERTY

public static org.w3c.dom.Element createPROPERTY(org.w3c.dom.Document pDoc,
                                                 org.w3c.dom.Element pParentE,
                                                 java.lang.String pName,
                                                 java.lang.String pType)
createPROPERTY

Parameters:
pDoc -
pParentE -
pName -
pType -
Returns:
Element

createPROPERTYARRAY

public static org.w3c.dom.Element createPROPERTYARRAY(org.w3c.dom.Document pDoc,
                                                      org.w3c.dom.Element pParentE,
                                                      java.lang.String pName,
                                                      java.lang.String pType)
createPROPERTYARRAY

Parameters:
pDoc -
pParentE -
pName -
pType -
Returns:
Element

createPROPERTYREFERENCE

public static org.w3c.dom.Element createPROPERTYREFERENCE(org.w3c.dom.Document pDoc,
                                                          org.w3c.dom.Element pParentE,
                                                          java.lang.String pName,
                                                          java.lang.String pReferenceclass)
createPROPERTYREFERENCE

Parameters:
pDoc -
pParentE -
pName -
pReferenceclass -
Returns:
Element

createNAMESPACE

public static org.w3c.dom.Element createNAMESPACE(org.w3c.dom.Document pDoc,
                                                  org.w3c.dom.Element pParentE,
                                                  java.lang.String pName)
createNAMESPACE

Parameters:
pDoc -
pParentE -
pName -
Returns:
Element

createLOCALINSTANCEPATH

public static org.w3c.dom.Element createLOCALINSTANCEPATH(org.w3c.dom.Document pDoc,
                                                          org.w3c.dom.Element pParentE)
createLOCALINSTANCEPATH

Parameters:
pDoc -
pParentE -
Returns:
Element

createCLASSNAME

public static org.w3c.dom.Element createCLASSNAME(org.w3c.dom.Document pDoc,
                                                  org.w3c.dom.Element pParentE,
                                                  java.lang.String pName)
createCLASSNAME

Parameters:
pDoc -
pParentE -
pName -
Returns:
Element

createCLASS

public static org.w3c.dom.Element createCLASS(org.w3c.dom.Document pDoc,
                                              org.w3c.dom.Element pParentE,
                                              java.lang.String pName,
                                              java.lang.String pSuperClass)
createCLASS

Parameters:
pDoc -
pParentE -
pName -
pSuperClass -
Returns:
Element

createINSTANCENAME

public static org.w3c.dom.Element createINSTANCENAME(org.w3c.dom.Document pDoc,
                                                     org.w3c.dom.Element pParentE,
                                                     java.lang.String pClassName)
createINSTANCENAME

Parameters:
pDoc -
pParentE -
pClassName -
Returns:
Element

createKEYBINDING

public static org.w3c.dom.Element createKEYBINDING(org.w3c.dom.Document pDoc,
                                                   org.w3c.dom.Element pParentE,
                                                   java.lang.String pName)
createKEYBINDING

Parameters:
pDoc -
pParentE -
pName -
Returns:
Element

createKEYVALUE

public static org.w3c.dom.Element createKEYVALUE(org.w3c.dom.Document pDoc,
                                                 org.w3c.dom.Element pParentE,
                                                 java.lang.String pValueType,
                                                 java.lang.String pValue)
createKEYVALUE

Parameters:
pDoc -
pParentE -
pValueType -
pValue -
Returns:
KEYVALUE

createINSTANCE

public static org.w3c.dom.Element createINSTANCE(org.w3c.dom.Document pDoc,
                                                 org.w3c.dom.Element pParentE,
                                                 java.lang.String pClassName)
createINSTANCE

Parameters:
pDoc -
pParentE -
pClassName -
Returns:
Element

createQUALIFIER

public static org.w3c.dom.Element createQUALIFIER(org.w3c.dom.Document pDoc,
                                                  org.w3c.dom.Element pParentE,
                                                  java.lang.String pName,
                                                  java.lang.String pType)
createQUALIFIER

Parameters:
pDoc -
pParentE -
pName -
pType -
Returns:
Element

createMESSAGE

public static org.w3c.dom.Element createMESSAGE(org.w3c.dom.Document pDoc,
                                                org.w3c.dom.Element pParentE,
                                                java.lang.String pId,
                                                java.lang.String pProtocolVersion)
createMESSAGE

Parameters:
pDoc -
pParentE -
pId -
pProtocolVersion -
Returns:
Element

createSIMPLEREQ

public static org.w3c.dom.Element createSIMPLEREQ(org.w3c.dom.Document pDoc,
                                                  org.w3c.dom.Element pParentE)
createSIMPLEREQ

Parameters:
pDoc -
pParentE -
Returns:
Element

createSIMPLEREQ

public static org.w3c.dom.Element createSIMPLEREQ(org.w3c.dom.Document pDoc)
createSIMPLEREQ

Parameters:
pDoc -
Returns:
Element

createMULTIREQ

public static org.w3c.dom.Element createMULTIREQ(org.w3c.dom.Document pDoc)
createMULTIREQ

Parameters:
pDoc -
Returns:
Element

createMETHODCALL

public static org.w3c.dom.Element createMETHODCALL(org.w3c.dom.Document pDoc,
                                                   org.w3c.dom.Element pParentE,
                                                   java.lang.String pName,
                                                   java.lang.String pParamtype)
createMETHODCALL

Parameters:
pDoc -
pParentE -
pName -
pParamtype -
Returns:
Element

createPARAMVALUE

public static org.w3c.dom.Element createPARAMVALUE(org.w3c.dom.Document pDoc,
                                                   org.w3c.dom.Element pParentE,
                                                   CIMArgument<?> pArg)
                                            throws WBEMException
createPARAMVALUE

Parameters:
pDoc -
pParentE -
pArg -
Returns:
Element
Throws:
WBEMException

createSIMPLERSP

public static org.w3c.dom.Element createSIMPLERSP(org.w3c.dom.Document pDoc,
                                                  org.w3c.dom.Element pParentE)
createSIMPLERSP

Parameters:
pDoc -
pParentE -
Returns:
Element

createSIMPLEEXPRSP

public static org.w3c.dom.Element createSIMPLEEXPRSP(org.w3c.dom.Document pDoc,
                                                     org.w3c.dom.Element pParentE)
createSIMPLEEXPRSP

Parameters:
pDoc -
pParentE -
Returns:
Element

createMETHODRESPONSE

public static org.w3c.dom.Element createMETHODRESPONSE(org.w3c.dom.Document pDoc,
                                                       org.w3c.dom.Element pParentE,
                                                       java.lang.String pName)
createMETHODRESPONSE

Parameters:
pDoc -
pParentE -
pName -
Returns:
Element

createIMETHODRESPONSE

public static org.w3c.dom.Element createIMETHODRESPONSE(org.w3c.dom.Document pDoc,
                                                        org.w3c.dom.Element pParentE,
                                                        java.lang.String pName)
createIMETHODRESPONSE

Parameters:
pDoc -
pParentE -
pName -
Returns:
Element

createEXPMETHODRESPONSE

public static org.w3c.dom.Element createEXPMETHODRESPONSE(org.w3c.dom.Document pDoc,
                                                          org.w3c.dom.Element pParentE,
                                                          java.lang.String pName)
createEXPMETHODRESPONSE

Parameters:
pDoc -
pParentE -
pName -
Returns:
Element

createIRETURNVALUE

public static org.w3c.dom.Element createIRETURNVALUE(org.w3c.dom.Document pDoc,
                                                     org.w3c.dom.Element pParentE)
createIRETURNVALUE

Parameters:
pDoc -
pParentE -
Returns:
Element

createRETURNVALUE

public static org.w3c.dom.Element createRETURNVALUE(org.w3c.dom.Document pDoc,
                                                    org.w3c.dom.Element pParentE,
                                                    java.lang.Object pValue)
                                             throws WBEMException
 !ELEMENT RETURNVALUE (VALUE | VALUE.REFERENCE)
 !ATTLIST RETURNVALUE
 %ParamType;       #IMPLIED
 
createRETURNVALUE

Parameters:
pDoc -
pParentE -
pValue -
Returns:
Element
Throws:
WBEMException

createIMETHODCALL

public static org.w3c.dom.Element createIMETHODCALL(org.w3c.dom.Document pDoc,
                                                    org.w3c.dom.Element pParentE,
                                                    java.lang.String pName)
createIMETHODCALL

Parameters:
pDoc -
pParentE -
pName -
Returns:
Element

createIPARAMVALUE

public static org.w3c.dom.Element createIPARAMVALUE(org.w3c.dom.Document pDoc,
                                                    org.w3c.dom.Element pParentE,
                                                    java.lang.String pName)
createIPARAMVALUE

Parameters:
pDoc -
pParentE -
pName -
Returns:
Element

createERROR

public static org.w3c.dom.Element createERROR(org.w3c.dom.Document doc,
                                              org.w3c.dom.Element parentE,
                                              CIMError error)
createERROR

Parameters:
doc -
parentE -
error -
Returns:
Element

createQUALIFIER_DECLARATION

public static org.w3c.dom.Element createQUALIFIER_DECLARATION(org.w3c.dom.Document pDoc,
                                                              org.w3c.dom.Element pParentE,
                                                              CIMQualifierType<?> pQualifierType)
                                                       throws WBEMException
createQUALIFIER_DECLARATION

Parameters:
pDoc -
pParentE -
pQualifierType -
Returns:
Element
Throws:
WBEMException

createQUALIFIER

public static org.w3c.dom.Element createQUALIFIER(org.w3c.dom.Document pDoc,
                                                  org.w3c.dom.Element pParentE,
                                                  CIMQualifier<?> pQualifier)
                                           throws WBEMException
createQUALIFIER

Parameters:
pDoc -
pParentE -
pQualifier -
Returns:
Element
Throws:
WBEMException

createQUALIFIERS

public static void createQUALIFIERS(org.w3c.dom.Document pDoc,
                                    org.w3c.dom.Element pParentE,
                                    CIMQualifier<?>[] pQualifiersA)
                             throws WBEMException
createQUALIFIERS

Parameters:
pDoc -
pParentE -
pQualifiersA -
Throws:
WBEMException

createPROPERTIES

public static void createPROPERTIES(org.w3c.dom.Document pDoc,
                                    org.w3c.dom.Element pParentE,
                                    CIMProperty<?>[] pProperties)
                             throws WBEMException
createPROPERTIES

Parameters:
pDoc -
pParentE -
pProperties -
Throws:
WBEMException

isCIMObject

public static boolean isCIMObject(int typeCode)
isCIMObject

Parameters:
typeCode -
Returns:
boolean

isCIMObject

public static boolean isCIMObject(CIMDataType pType)
isCIMObject

Parameters:
pType -
Returns:
boolean

getEmbObjTypeStr

public static java.lang.String getEmbObjTypeStr(CIMDataType pType)
getEmbObjTypeStr

Parameters:
pType -
Returns:
String

cimObjectToXMLString

public static java.lang.String cimObjectToXMLString(java.lang.Object pObj)
                                             throws WBEMException
cimObjectToXMLString - for embedded object support

Parameters:
pObj -
Returns:
String
Throws:
WBEMException

cimObjectArrayToXMLString

public static java.lang.String[] cimObjectArrayToXMLString(java.lang.Object pObj)
                                                    throws WBEMException
cimObjectArrayToXMLString - for embedded object support

Parameters:
pObj -
Returns:
String[]
Throws:
WBEMException

createPROPERTY

public static org.w3c.dom.Element createPROPERTY(org.w3c.dom.Document pDoc,
                                                 org.w3c.dom.Element pParentE,
                                                 CIMProperty<?> pProperty)
                                          throws WBEMException
createPROPERTY

Parameters:
pDoc -
pParentE -
pProperty -
Returns:
Element
Throws:
WBEMException

createVALUEARRAY

public static org.w3c.dom.Element createVALUEARRAY(org.w3c.dom.Document pDoc,
                                                   org.w3c.dom.Element pParentE,
                                                   java.lang.Object[] pValA)
                                            throws WBEMException
createVALUEARRAY

Parameters:
pDoc -
pParentE -
pValA -
Returns:
Element
Throws:
WBEMException

createVALUE

public static org.w3c.dom.Element createVALUE(org.w3c.dom.Document pDoc,
                                              org.w3c.dom.Element pParentE,
                                              java.lang.Object pArgValue)
                                       throws WBEMException
createVALUE

Parameters:
pDoc -
pParentE -
pArgValue -
Returns:
Element
Throws:
WBEMException

createINSTANCE

public static org.w3c.dom.Element createINSTANCE(org.w3c.dom.Document pDoc,
                                                 org.w3c.dom.Element pParentE,
                                                 CIMInstance pInstance)
                                          throws WBEMException
createINSTANCE

Parameters:
pDoc -
pParentE -
pInstance -
Returns:
Element
Throws:
WBEMException

createOBJECTPATH

public static org.w3c.dom.Element createOBJECTPATH(org.w3c.dom.Document pDoc,
                                                   org.w3c.dom.Element pParentE,
                                                   CIMObjectPath pPath)
                                            throws WBEMException
createOBJECTPATH

Parameters:
pDoc -
pParentE -
pPath -
Returns:
Element
Throws:
WBEMException

createOBJECTNAME

public static org.w3c.dom.Element createOBJECTNAME(org.w3c.dom.Document pDoc,
                                                   org.w3c.dom.Element pParentE,
                                                   CIMObjectPath pPath)
                                            throws WBEMException
createOBJECTNAME

Parameters:
pDoc -
pParentE -
pPath -
Returns:
Element
Throws:
WBEMException

createLOCALINSTANCEPATH

public static org.w3c.dom.Element createLOCALINSTANCEPATH(org.w3c.dom.Document pDoc,
                                                          org.w3c.dom.Element pParentE,
                                                          CIMObjectPath pPath)
                                                   throws WBEMException
createLOCALINSTANCEPATH

Parameters:
pDoc -
pParentE -
pPath -
Returns:
Element
Throws:
WBEMException

createLOCALCLASSPATH

public static org.w3c.dom.Element createLOCALCLASSPATH(org.w3c.dom.Document pDoc,
                                                       org.w3c.dom.Element pParentE,
                                                       CIMObjectPath pPath)
                                                throws WBEMException
createLOCALCLASSPATH

Parameters:
pDoc -
pParentE -
pPath -
Returns:
Element
Throws:
WBEMException

createLOCALOBJECTPATH

public static org.w3c.dom.Element createLOCALOBJECTPATH(org.w3c.dom.Document pDoc,
                                                        org.w3c.dom.Element pParentE,
                                                        CIMObjectPath pPath)
                                                 throws WBEMException
createLOCALOBJECTPATH

Parameters:
pDoc -
pParentE -
pPath -
Returns:
Element
Throws:
WBEMException

createVALUEREFERENCE

public static org.w3c.dom.Element createVALUEREFERENCE(org.w3c.dom.Document pDoc,
                                                       org.w3c.dom.Element pParentE,
                                                       CIMObjectPath pPath)
                                                throws WBEMException
createVALUEREFERENCE

Parameters:
pDoc -
pParentE -
pPath -
Returns:
Element
Throws:
WBEMException

createINSTANCENAME

public static org.w3c.dom.Element createINSTANCENAME(org.w3c.dom.Document doc,
                                                     org.w3c.dom.Element parentE,
                                                     CIMObjectPath instanceOP)
                                              throws WBEMException
createINSTANCENAME

Parameters:
doc -
parentE -
instanceOP -
Returns:
Element
Throws:
WBEMException

createCLASSPATH

public static org.w3c.dom.Element createCLASSPATH(org.w3c.dom.Document pDoc,
                                                  org.w3c.dom.Element pParentE,
                                                  CIMObjectPath pPath)
createCLASSPATH

Parameters:
pDoc -
pParentE -
pPath -
Returns:
Element

createPARAMETERS

public static void createPARAMETERS(org.w3c.dom.Document pDoc,
                                    org.w3c.dom.Element pParentE,
                                    CIMParameter<?>[] pParameters)
                             throws WBEMException
createPARAMETERS

Parameters:
pDoc -
pParentE -
pParameters -
Throws:
WBEMException

createPARAMETER

public static org.w3c.dom.Element createPARAMETER(org.w3c.dom.Document pDoc,
                                                  org.w3c.dom.Element pParentE,
                                                  CIMParameter<?> pParameter)
                                           throws WBEMException
createPARAMETER

Parameters:
pDoc -
pParentE -
pParameter -
Returns:
Element
Throws:
WBEMException

createMETHODS

public static void createMETHODS(org.w3c.dom.Document pDoc,
                                 org.w3c.dom.Element pParentE,
                                 CIMMethod<?>[] pMethods,
                                 java.lang.String pClassName)
                          throws WBEMException
createMETHODS

Parameters:
pDoc -
pParentE -
pMethods -
pClassName -
Throws:
WBEMException

createMETHOD

public static org.w3c.dom.Element createMETHOD(org.w3c.dom.Document pDoc,
                                               org.w3c.dom.Element pParentE,
                                               CIMMethod<?> pMethod,
                                               java.lang.String pClassName)
                                        throws WBEMException
createMETHOD

Parameters:
pDoc -
pParentE -
pMethod -
pClassName -
Returns:
Element
Throws:
WBEMException

createCLASS

public static org.w3c.dom.Element createCLASS(org.w3c.dom.Document pDoc,
                                              org.w3c.dom.Element pParentE,
                                              CIMClass pClass)
                                       throws WBEMException
createCLASS

Parameters:
pDoc -
pParentE -
pClass -
Returns:
Element
Throws:
WBEMException

createHOST

public static org.w3c.dom.Element createHOST(org.w3c.dom.Document pDoc,
                                             org.w3c.dom.Element pParentE,
                                             java.lang.String pHost)
createHOST

Parameters:
pDoc -
pParentE -
pHost -
Returns:
Element

createNAMESPACEPATH

public static org.w3c.dom.Element createNAMESPACEPATH(org.w3c.dom.Document pDoc,
                                                      org.w3c.dom.Element pParentE,
                                                      CIMObjectPath pPath)
createNAMESPACEPATH

Parameters:
pDoc -
pParentE -
pPath -
Returns:
Element

createINSTANCEPATH

public static org.w3c.dom.Element createINSTANCEPATH(org.w3c.dom.Document pDoc,
                                                     org.w3c.dom.Element pParentE,
                                                     CIMObjectPath pPath)
                                              throws WBEMException
createINSTANCEPATH

Parameters:
pDoc -
pParentE -
pPath -
Returns:
Element
Throws:
WBEMException

createVALUENAMEDINSTANCE

public static org.w3c.dom.Element createVALUENAMEDINSTANCE(org.w3c.dom.Document pDoc,
                                                           org.w3c.dom.Element pParentE,
                                                           CIMObjectPath pPath,
                                                           CIMInstance pInst)
                                                    throws WBEMException
createVALUENAMEDINSTANCE

Parameters:
pDoc -
pParentE -
pPath -
pInst -
Returns:
Element
Throws:
WBEMException

createVALUENAMEDINSTANCE

public static org.w3c.dom.Element createVALUENAMEDINSTANCE(org.w3c.dom.Document pDoc,
                                                           org.w3c.dom.Element pParentE,
                                                           CIMInstance pInst)
                                                    throws WBEMException
createVALUENAMEDINSTANCE

Parameters:
pDoc -
pParentE -
pInst -
Returns:
Element
Throws:
WBEMException

createVALUEOBJECTWITHPATH

public static org.w3c.dom.Element createVALUEOBJECTWITHPATH(org.w3c.dom.Document pDoc,
                                                            org.w3c.dom.Element pParentE,
                                                            java.lang.Object pObj,
                                                            java.lang.String pNameSpace)
                                                     throws WBEMException
createVALUEOBJECTWITHPATH

Parameters:
pDoc -
pParentE -
pObj -
pNameSpace -
Returns:
Element
Throws:
WBEMException

createVALUEOBJECTWITHLOCALPATH

public static org.w3c.dom.Element createVALUEOBJECTWITHLOCALPATH(org.w3c.dom.Document pDoc,
                                                                 org.w3c.dom.Element pParentE,
                                                                 java.lang.Object pObj,
                                                                 java.lang.String pNameSpace)
                                                          throws WBEMException
createVALUEOBJECTWITHLOCALPATH

Parameters:
pDoc -
pParentE -
pObj -
pNameSpace -
Returns:
Element
Throws:
WBEMException

createIRETURNVALUE_ERROR

public static org.w3c.dom.Element createIRETURNVALUE_ERROR(org.w3c.dom.Document doc,
                                                           org.w3c.dom.Element parentE,
                                                           CIMError error)
createIRETURNVALUE_ERROR

Parameters:
doc -
parentE -
error -
Returns:
Element

createIRETURNVALUE_GETINSTANCE

public static org.w3c.dom.Element createIRETURNVALUE_GETINSTANCE(org.w3c.dom.Document pDoc,
                                                                 org.w3c.dom.Element pParentE,
                                                                 CIMInstance pInst)
                                                          throws WBEMException
createIRETURNVALUE_GETINSTANCE

Parameters:
pDoc -
pParentE -
pInst -
Returns:
Element
Throws:
WBEMException

createIRETURNVALUE_ASSOCIATORS_NAMES

public static org.w3c.dom.Element createIRETURNVALUE_ASSOCIATORS_NAMES(org.w3c.dom.Document pDoc,
                                                                       org.w3c.dom.Element pParentE,
                                                                       CIMObjectPath[] pResultSet)
                                                                throws java.lang.Exception
createIRETURNVALUE_ASSOCIATORS_NAMES

Parameters:
pDoc -
pParentE -
pResultSet -
Returns:
Element
Throws:
java.lang.Exception

createIRETURNVALUE_ASSOCIATORS

public static org.w3c.dom.Element createIRETURNVALUE_ASSOCIATORS(org.w3c.dom.Document pDoc,
                                                                 org.w3c.dom.Element pParentE,
                                                                 java.lang.Object[] pResultSet,
                                                                 java.lang.String pNameSpace)
                                                          throws java.lang.Exception
createIRETURNVALUE_ASSOCIATORS

Parameters:
pDoc -
pParentE -
pResultSet -
pNameSpace -
Returns:
Element
Throws:
java.lang.Exception

createIRETURNVALUE_ENUMERATE_INSTANCENAME

public static org.w3c.dom.Element createIRETURNVALUE_ENUMERATE_INSTANCENAME(org.w3c.dom.Document pDoc,
                                                                            org.w3c.dom.Element pParentE,
                                                                            java.lang.Object[] pResultSet,
                                                                            java.lang.String pNameSpace)
                                                                     throws java.lang.Exception
createIRETURNVALUE_ENUMERATE_INSTANCENAME

Parameters:
pDoc -
pParentE -
pResultSet -
pNameSpace -
Returns:
Element
Throws:
java.lang.Exception

createIRETURNVALUE

public static org.w3c.dom.Element createIRETURNVALUE(org.w3c.dom.Document pDoc,
                                                     org.w3c.dom.Element pParentE,
                                                     java.lang.Object[] pResultSet)
                                              throws WBEMException
createIRETURNVALUE

Parameters:
pDoc -
pParentE -
pResultSet -
Returns:
Element
Throws:
WBEMException

createIRETURNVALUE_ENUMERATE_CLASSNAME

public static org.w3c.dom.Element createIRETURNVALUE_ENUMERATE_CLASSNAME(org.w3c.dom.Document pDoc,
                                                                         org.w3c.dom.Element pParentE,
                                                                         CIMClass[] pResultSet)
createIRETURNVALUE_ENUMERATE_CLASSNAME

Parameters:
pDoc -
pParentE -
pResultSet -
Returns:
Element

createIndication_response

public static org.w3c.dom.Element createIndication_response(org.w3c.dom.Document doc,
                                                            java.lang.String ID,
                                                            CIMError error)
createIndication_response

Parameters:
doc -
ID -
error -
Returns:
Element

createIRETURNVALUE_ENUMERATE_INSTANCE

public static org.w3c.dom.Element createIRETURNVALUE_ENUMERATE_INSTANCE(org.w3c.dom.Document pDoc,
                                                                        org.w3c.dom.Element pParentE,
                                                                        CIMInstance[] pResultSet)
                                                                 throws WBEMException
createIRETURNVALUE_ENUMERATE_INSTANCE

Parameters:
pDoc -
pParentE -
pResultSet -
Returns:
Element
Throws:
WBEMException

getTypeStr

public static java.lang.String getTypeStr(CIMDataType pType)
getTypeStr

Parameters:
pType -
Returns:
String

getOpTypeStr

public static java.lang.String getOpTypeStr(CIMDataType pType)
getOpTypeStr

Parameters:
pType -
Returns:
String

createLOCALNAMESPACEPATH

public static org.w3c.dom.Element createLOCALNAMESPACEPATH(org.w3c.dom.Document pDoc,
                                                           org.w3c.dom.Element pParentE,
                                                           CIMObjectPath pName)
createLOCALNAMESPACEPATH

Parameters:
pDoc -
pParentE -
pName -
Returns:
Element


Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.