public class CIMXMLBuilderImpl extends Object
| Constructor and Description |
|---|
CIMXMLBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
cimObjectArrayToXMLString(Object pObj)
cimObjectArrayToXMLString - for embedded object support
|
static String |
cimObjectToXMLString(Object pObj)
cimObjectToXMLString - for embedded object support
|
static Element |
createCIM(Document pDoc)
createCIM
|
static Element |
createCLASS(Document pDoc,
Element pParentE,
CIMClass pClass)
createCLASS
|
static Element |
createCLASS(Document pDoc,
Element pParentE,
String pName,
String pSuperClass)
createCLASS
|
static Element |
createCLASSNAME(Document pDoc,
Element pParentE,
String pName)
createCLASSNAME
|
static Element |
createCLASSPATH(Document pDoc,
Element pParentE,
CIMObjectPath pPath)
createCLASSPATH
|
static Element |
createERROR(Document doc,
Element parentE,
CIMError error)
createERROR
|
static Element |
createEXPMETHODRESPONSE(Document pDoc,
Element pParentE,
String pName)
createEXPMETHODRESPONSE
|
static Element |
createHOST(Document pDoc,
Element pParentE,
String pHost)
createHOST
|
static Element |
createIMETHODCALL(Document pDoc,
Element pParentE,
String pName)
createIMETHODCALL
|
static Element |
createIMETHODRESPONSE(Document pDoc,
Element pParentE,
String pName)
createIMETHODRESPONSE
|
static Element |
createIndication_response(Document doc,
String ID,
CIMError error)
createIndication_response
|
static Element |
createINSTANCE(Document pDoc,
Element pParentE,
CIMInstance pInstance)
createINSTANCE
|
static Element |
createINSTANCE(Document pDoc,
Element pParentE,
String pClassName)
createINSTANCE
|
static Element |
createINSTANCENAME(Document doc,
Element parentE,
CIMObjectPath instanceOP)
createINSTANCENAME
|
static Element |
createINSTANCENAME(Document pDoc,
Element pParentE,
String pClassName)
createINSTANCENAME
|
static Element |
createINSTANCEPATH(Document pDoc,
Element pParentE,
CIMObjectPath pPath)
createINSTANCEPATH
|
static Element |
createIPARAMVALUE(Document pDoc,
Element pParentE,
String pName)
createIPARAMVALUE
|
static Element |
createIRETURNVALUE_ASSOCIATORS_NAMES(Document pDoc,
Element pParentE,
CIMObjectPath[] pResultSet)
createIRETURNVALUE_ASSOCIATORS_NAMES
|
static Element |
createIRETURNVALUE_ASSOCIATORS(Document pDoc,
Element pParentE,
Object[] pResultSet,
String pNameSpace)
createIRETURNVALUE_ASSOCIATORS
|
static Element |
createIRETURNVALUE_ENUMERATE_CLASSNAME(Document pDoc,
Element pParentE,
CIMClass[] pResultSet)
createIRETURNVALUE_ENUMERATE_CLASSNAME
|
static Element |
createIRETURNVALUE_ENUMERATE_INSTANCE(Document pDoc,
Element pParentE,
CIMInstance[] pResultSet)
createIRETURNVALUE_ENUMERATE_INSTANCE
|
static Element |
createIRETURNVALUE_ENUMERATE_INSTANCENAME(Document pDoc,
Element pParentE,
Object[] pResultSet,
String pNameSpace)
createIRETURNVALUE_ENUMERATE_INSTANCENAME
|
static Element |
createIRETURNVALUE_ERROR(Document doc,
Element parentE,
CIMError error)
createIRETURNVALUE_ERROR
|
static Element |
createIRETURNVALUE_GETINSTANCE(Document pDoc,
Element pParentE,
CIMInstance pInst)
createIRETURNVALUE_GETINSTANCE
|
static Element |
createIRETURNVALUE(Document pDoc,
Element pParentE)
createIRETURNVALUE
|
static Element |
createIRETURNVALUE(Document pDoc,
Element pParentE,
Object[] pResultSet)
createIRETURNVALUE
|
static Element |
createKEYBINDING(Document pDoc,
Element pParentE,
String pName)
createKEYBINDING
|
static Element |
createKEYVALUE(Document pDoc,
Element pParentE,
String pValueType,
String pValue)
createKEYVALUE
|
static Element |
createLOCALCLASSPATH(Document pDoc,
Element pParentE,
CIMObjectPath pPath)
createLOCALCLASSPATH
|
static Element |
createLOCALINSTANCEPATH(Document pDoc,
Element pParentE)
createLOCALINSTANCEPATH
|
static Element |
createLOCALINSTANCEPATH(Document pDoc,
Element pParentE,
CIMObjectPath pPath)
createLOCALINSTANCEPATH
|
static Element |
createLOCALNAMESPACEPATH(Document pDoc,
Element pParentE,
CIMObjectPath pName)
createLOCALNAMESPACEPATH
|
static Element |
createLOCALOBJECTPATH(Document pDoc,
Element pParentE,
CIMObjectPath pPath)
createLOCALOBJECTPATH
|
static Element |
createMESSAGE(Document pDoc,
Element pParentE,
String pId,
String pProtocolVersion)
createMESSAGE
|
static Element |
createMETHOD(Document pDoc,
Element pParentE,
CIMMethod<?> pMethod,
String pClassName)
createMETHOD
|
static Element |
createMETHODCALL(Document pDoc,
Element pParentE,
String pName,
String pParamtype)
createMETHODCALL
|
static Element |
createMETHODRESPONSE(Document pDoc,
Element pParentE,
String pName)
createMETHODRESPONSE
|
static void |
createMETHODS(Document pDoc,
Element pParentE,
CIMMethod<?>[] pMethods,
String pClassName)
createMETHODS
|
static Element |
createMULTIREQ(Document pDoc)
createMULTIREQ
|
static Element |
createNAMESPACE(Document pDoc,
Element pParentE,
String pName)
createNAMESPACE
|
static Element |
createNAMESPACEPATH(Document pDoc,
Element pParentE,
CIMObjectPath pPath)
createNAMESPACEPATH
|
static Element |
createOBJECTNAME(Document pDoc,
Element pParentE,
CIMObjectPath pPath)
createOBJECTNAME
|
static Element |
createOBJECTPATH(Document pDoc,
Element pParentE,
CIMObjectPath pPath)
createOBJECTPATH
|
static Element |
createPARAMETER(Document pDoc,
Element pParentE,
CIMParameter<?> pParameter)
createPARAMETER
|
static void |
createPARAMETERS(Document pDoc,
Element pParentE,
CIMParameter<?>[] pParameters)
createPARAMETERS
|
static Element |
createPARAMVALUE(Document pDoc,
Element pParentE,
CIMArgument<?> pArg)
createPARAMVALUE
|
static void |
createPROPERTIES(Document pDoc,
Element pParentE,
CIMProperty<?>[] pProperties)
createPROPERTIES
|
static Element |
createPROPERTY(Document pDoc,
Element pParentE,
CIMProperty<?> pProperty)
createPROPERTY
|
static Element |
createPROPERTY(Document pDoc,
Element pParentE,
String pName,
String pType)
createPROPERTY
|
static Element |
createPROPERTYARRAY(Document pDoc,
Element pParentE,
String pName,
String pType)
createPROPERTYARRAY
|
static Element |
createPROPERTYREFERENCE(Document pDoc,
Element pParentE,
String pName,
String pReferenceclass)
createPROPERTYREFERENCE
|
static Element |
createQUALIFIER_DECLARATION(Document pDoc,
Element pParentE,
CIMQualifierType<?> pQualifierType)
createQUALIFIER_DECLARATION
|
static Element |
createQUALIFIER(Document pDoc,
Element pParentE,
CIMQualifier<?> pQualifier)
createQUALIFIER
|
static Element |
createQUALIFIER(Document pDoc,
Element pParentE,
String pName,
String pType)
createQUALIFIER
|
static void |
createQUALIFIERS(Document pDoc,
Element pParentE,
CIMQualifier<?>[] pQualifiersA)
createQUALIFIERS
|
static Element |
createRETURNVALUE(Document pDoc,
Element pParentE,
Object pValue)
!ELEMENT RETURNVALUE (VALUE | VALUE.REFERENCE)
!ATTLIST RETURNVALUE
%ParamType; #IMPLIED
|
static Element |
createSIMPLEEXPRSP(Document pDoc,
Element pParentE)
createSIMPLEEXPRSP
|
static Element |
createSIMPLEREQ(Document pDoc)
createSIMPLEREQ
|
static Element |
createSIMPLEREQ(Document pDoc,
Element pParentE)
createSIMPLEREQ
|
static Element |
createSIMPLERSP(Document pDoc,
Element pParentE)
createSIMPLERSP
|
static Element |
createVALUE(Document pDoc,
Element pParentE)
createVALUE
|
static Element |
createVALUE(Document pDoc,
Element pParentE,
boolean pValue)
createVALUE
|
static Element |
createVALUE(Document pDoc,
Element pParentE,
Object pArgValue)
createVALUE
|
static Element |
createVALUE(Document pDoc,
Element pParentE,
String pValue)
createVALUE
|
static Element |
createVALUEARRAY(Document pDoc,
Element pParentE)
createVALUEARRAY
|
static Element |
createVALUEARRAY(Document pDoc,
Element pParentE,
Object[] pValA)
createVALUEARRAY
|
static Element |
createVALUENAMEDINSTANCE(Document pDoc,
Element pParentE,
CIMInstance pInst)
createVALUENAMEDINSTANCE
|
static Element |
createVALUENAMEDINSTANCE(Document pDoc,
Element pParentE,
CIMObjectPath pPath,
CIMInstance pInst)
createVALUENAMEDINSTANCE
|
static Element |
createVALUEOBJECTWITHLOCALPATH(Document pDoc,
Element pParentE,
Object pObj,
String pNameSpace)
createVALUEOBJECTWITHLOCALPATH
|
static Element |
createVALUEOBJECTWITHPATH(Document pDoc,
Element pParentE,
Object pObj,
String pNameSpace)
createVALUEOBJECTWITHPATH
|
static Element |
createVALUEREFARRAY(Document pDoc,
Element pParentE)
createVALUEREFARRAY
|
static Element |
createVALUEREFERENCE(Document pDoc,
Element pParentE)
createVALUEREFERENCE
|
static Element |
createVALUEREFERENCE(Document pDoc,
Element pParentE,
CIMObjectPath pPath)
createVALUEREFERENCE
|
static String |
getEmbObjTypeStr(CIMDataType pType)
getEmbObjTypeStr
|
static String |
getOpTypeStr(CIMDataType pType)
getOpTypeStr
|
static String |
getTypeStr(CIMDataType pType)
getTypeStr
|
static boolean |
isCIMObject(CIMDataType pType)
isCIMObject
|
static boolean |
isCIMObject(int typeCode)
isCIMObject
|
public static Element createCIM(Document pDoc)
pDoc - public static Element createVALUE(Document pDoc, Element pParentE)
pDoc - pParentE - public static Element createVALUE(Document pDoc, Element pParentE, String pValue)
pDoc - pParentE - pValue - public static Element createVALUE(Document pDoc, Element pParentE, boolean pValue)
pDoc - pParentE - pValue - public static Element createVALUEARRAY(Document pDoc, Element pParentE)
pDoc - pParentE - public static Element createVALUEREFERENCE(Document pDoc, Element pParentE)
pDoc - pParentE - public static Element createVALUEREFARRAY(Document pDoc, Element pParentE)
pDoc - pParentE - public static Element createPROPERTY(Document pDoc, Element pParentE, String pName, String pType)
pDoc - pParentE - pName - pType - public static Element createPROPERTYARRAY(Document pDoc, Element pParentE, String pName, String pType)
pDoc - pParentE - pName - pType - public static Element createPROPERTYREFERENCE(Document pDoc, Element pParentE, String pName, String pReferenceclass)
pDoc - pParentE - pName - pReferenceclass - public static Element createNAMESPACE(Document pDoc, Element pParentE, String pName)
pDoc - pParentE - pName - public static Element createLOCALINSTANCEPATH(Document pDoc, Element pParentE)
pDoc - pParentE - public static Element createCLASSNAME(Document pDoc, Element pParentE, String pName)
pDoc - pParentE - pName - public static Element createCLASS(Document pDoc, Element pParentE, String pName, String pSuperClass)
pDoc - pParentE - pName - pSuperClass - public static Element createINSTANCENAME(Document pDoc, Element pParentE, String pClassName)
pDoc - pParentE - pClassName - public static Element createKEYBINDING(Document pDoc, Element pParentE, String pName)
pDoc - pParentE - pName - public static Element createKEYVALUE(Document pDoc, Element pParentE, String pValueType, String pValue)
pDoc - pParentE - pValueType - pValue - public static Element createINSTANCE(Document pDoc, Element pParentE, String pClassName)
pDoc - pParentE - pClassName - public static Element createQUALIFIER(Document pDoc, Element pParentE, String pName, String pType)
pDoc - pParentE - pName - pType - public static Element createMESSAGE(Document pDoc, Element pParentE, String pId, String pProtocolVersion)
pDoc - pParentE - pId - pProtocolVersion - public static Element createSIMPLEREQ(Document pDoc, Element pParentE)
pDoc - pParentE - public static Element createSIMPLEREQ(Document pDoc)
pDoc - public static Element createMULTIREQ(Document pDoc)
pDoc - public static Element createMETHODCALL(Document pDoc, Element pParentE, String pName, String pParamtype)
pDoc - pParentE - pName - pParamtype - public static Element createPARAMVALUE(Document pDoc, Element pParentE, CIMArgument<?> pArg) throws WBEMException
pDoc - pParentE - pArg - WBEMExceptionpublic static Element createSIMPLERSP(Document pDoc, Element pParentE)
pDoc - pParentE - public static Element createSIMPLEEXPRSP(Document pDoc, Element pParentE)
pDoc - pParentE - public static Element createMETHODRESPONSE(Document pDoc, Element pParentE, String pName)
pDoc - pParentE - pName - public static Element createIMETHODRESPONSE(Document pDoc, Element pParentE, String pName)
pDoc - pParentE - pName - public static Element createEXPMETHODRESPONSE(Document pDoc, Element pParentE, String pName)
pDoc - pParentE - pName - public static Element createIRETURNVALUE(Document pDoc, Element pParentE)
pDoc - pParentE - public static Element createRETURNVALUE(Document pDoc, Element pParentE, Object pValue) throws WBEMException
!ELEMENT RETURNVALUE (VALUE | VALUE.REFERENCE) !ATTLIST RETURNVALUE %ParamType; #IMPLIEDcreateRETURNVALUE
pDoc - pParentE - pValue - WBEMExceptionpublic static Element createIMETHODCALL(Document pDoc, Element pParentE, String pName)
pDoc - pParentE - pName - public static Element createIPARAMVALUE(Document pDoc, Element pParentE, String pName)
pDoc - pParentE - pName - public static Element createERROR(Document doc, Element parentE, CIMError error)
doc - parentE - error - public static Element createQUALIFIER_DECLARATION(Document pDoc, Element pParentE, CIMQualifierType<?> pQualifierType) throws WBEMException
pDoc - pParentE - pQualifierType - WBEMExceptionpublic static Element createQUALIFIER(Document pDoc, Element pParentE, CIMQualifier<?> pQualifier) throws WBEMException
pDoc - pParentE - pQualifier - WBEMExceptionpublic static void createQUALIFIERS(Document pDoc, Element pParentE, CIMQualifier<?>[] pQualifiersA) throws WBEMException
pDoc - pParentE - pQualifiersA - WBEMExceptionpublic static void createPROPERTIES(Document pDoc, Element pParentE, CIMProperty<?>[] pProperties) throws WBEMException
pDoc - pParentE - pProperties - WBEMExceptionpublic static boolean isCIMObject(int typeCode)
typeCode - public static boolean isCIMObject(CIMDataType pType)
pType - public static String getEmbObjTypeStr(CIMDataType pType)
pType - public static String cimObjectToXMLString(Object pObj) throws WBEMException
pObj - WBEMExceptionpublic static String[] cimObjectArrayToXMLString(Object pObj) throws WBEMException
pObj - WBEMExceptionpublic static Element createPROPERTY(Document pDoc, Element pParentE, CIMProperty<?> pProperty) throws WBEMException
pDoc - pParentE - pProperty - WBEMExceptionpublic static Element createVALUEARRAY(Document pDoc, Element pParentE, Object[] pValA) throws WBEMException
pDoc - pParentE - pValA - WBEMExceptionpublic static Element createVALUE(Document pDoc, Element pParentE, Object pArgValue) throws WBEMException
pDoc - pParentE - pArgValue - WBEMExceptionpublic static Element createINSTANCE(Document pDoc, Element pParentE, CIMInstance pInstance) throws WBEMException
pDoc - pParentE - pInstance - WBEMExceptionpublic static Element createOBJECTPATH(Document pDoc, Element pParentE, CIMObjectPath pPath) throws WBEMException
pDoc - pParentE - pPath - WBEMExceptionpublic static Element createOBJECTNAME(Document pDoc, Element pParentE, CIMObjectPath pPath) throws WBEMException
pDoc - pParentE - pPath - WBEMExceptionpublic static Element createLOCALINSTANCEPATH(Document pDoc, Element pParentE, CIMObjectPath pPath) throws WBEMException
pDoc - pParentE - pPath - WBEMExceptionpublic static Element createLOCALCLASSPATH(Document pDoc, Element pParentE, CIMObjectPath pPath) throws WBEMException
pDoc - pParentE - pPath - WBEMExceptionpublic static Element createLOCALOBJECTPATH(Document pDoc, Element pParentE, CIMObjectPath pPath) throws WBEMException
pDoc - pParentE - pPath - WBEMExceptionpublic static Element createVALUEREFERENCE(Document pDoc, Element pParentE, CIMObjectPath pPath) throws WBEMException
pDoc - pParentE - pPath - WBEMExceptionpublic static Element createINSTANCENAME(Document doc, Element parentE, CIMObjectPath instanceOP) throws WBEMException
doc - parentE - instanceOP - WBEMExceptionpublic static Element createCLASSPATH(Document pDoc, Element pParentE, CIMObjectPath pPath)
pDoc - pParentE - pPath - public static void createPARAMETERS(Document pDoc, Element pParentE, CIMParameter<?>[] pParameters) throws WBEMException
pDoc - pParentE - pParameters - WBEMExceptionpublic static Element createPARAMETER(Document pDoc, Element pParentE, CIMParameter<?> pParameter) throws WBEMException
pDoc - pParentE - pParameter - WBEMExceptionpublic static void createMETHODS(Document pDoc, Element pParentE, CIMMethod<?>[] pMethods, String pClassName) throws WBEMException
pDoc - pParentE - pMethods - pClassName - WBEMExceptionpublic static Element createMETHOD(Document pDoc, Element pParentE, CIMMethod<?> pMethod, String pClassName) throws WBEMException
pDoc - pParentE - pMethod - pClassName - WBEMExceptionpublic static Element createCLASS(Document pDoc, Element pParentE, CIMClass pClass) throws WBEMException
pDoc - pParentE - pClass - WBEMExceptionpublic static Element createHOST(Document pDoc, Element pParentE, String pHost)
pDoc - pParentE - pHost - public static Element createNAMESPACEPATH(Document pDoc, Element pParentE, CIMObjectPath pPath)
pDoc - pParentE - pPath - public static Element createINSTANCEPATH(Document pDoc, Element pParentE, CIMObjectPath pPath) throws WBEMException
pDoc - pParentE - pPath - WBEMExceptionpublic static Element createVALUENAMEDINSTANCE(Document pDoc, Element pParentE, CIMObjectPath pPath, CIMInstance pInst) throws WBEMException
pDoc - pParentE - pPath - pInst - WBEMExceptionpublic static Element createVALUENAMEDINSTANCE(Document pDoc, Element pParentE, CIMInstance pInst) throws WBEMException
pDoc - pParentE - pInst - WBEMExceptionpublic static Element createVALUEOBJECTWITHPATH(Document pDoc, Element pParentE, Object pObj, String pNameSpace) throws WBEMException
pDoc - pParentE - pObj - pNameSpace - WBEMExceptionpublic static Element createVALUEOBJECTWITHLOCALPATH(Document pDoc, Element pParentE, Object pObj, String pNameSpace) throws WBEMException
pDoc - pParentE - pObj - pNameSpace - WBEMExceptionpublic static Element createIRETURNVALUE_ERROR(Document doc, Element parentE, CIMError error)
doc - parentE - error - public static Element createIRETURNVALUE_GETINSTANCE(Document pDoc, Element pParentE, CIMInstance pInst) throws WBEMException
pDoc - pParentE - pInst - WBEMExceptionpublic static Element createIRETURNVALUE_ASSOCIATORS_NAMES(Document pDoc, Element pParentE, CIMObjectPath[] pResultSet) throws Exception
pDoc - pParentE - pResultSet - Exceptionpublic static Element createIRETURNVALUE_ASSOCIATORS(Document pDoc, Element pParentE, Object[] pResultSet, String pNameSpace) throws Exception
pDoc - pParentE - pResultSet - pNameSpace - Exceptionpublic static Element createIRETURNVALUE_ENUMERATE_INSTANCENAME(Document pDoc, Element pParentE, Object[] pResultSet, String pNameSpace) throws Exception
pDoc - pParentE - pResultSet - pNameSpace - Exceptionpublic static Element createIRETURNVALUE(Document pDoc, Element pParentE, Object[] pResultSet) throws WBEMException
pDoc - pParentE - pResultSet - WBEMExceptionpublic static Element createIRETURNVALUE_ENUMERATE_CLASSNAME(Document pDoc, Element pParentE, CIMClass[] pResultSet)
pDoc - pParentE - pResultSet - public static Element createIndication_response(Document doc, String ID, CIMError error)
doc - ID - error - public static Element createIRETURNVALUE_ENUMERATE_INSTANCE(Document pDoc, Element pParentE, CIMInstance[] pResultSet) throws WBEMException
pDoc - pParentE - pResultSet - WBEMExceptionpublic static String getTypeStr(CIMDataType pType)
pType - public static String getOpTypeStr(CIMDataType pType)
pType - public static Element createLOCALNAMESPACEPATH(Document pDoc, Element pParentE, CIMObjectPath pName)
pDoc - pParentE - pName - Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.