org.sblim.cimclient.internal.cimxml
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
- WBEMException
public 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
- WBEMException
public 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
- WBEMException
public static Element createQUALIFIER(Document pDoc, Element pParentE, CIMQualifier<?> pQualifier) throws WBEMException
pDoc
- pParentE
- pQualifier
- WBEMException
public static void createQUALIFIERS(Document pDoc, Element pParentE, CIMQualifier<?>[] pQualifiersA) throws WBEMException
pDoc
- pParentE
- pQualifiersA
- WBEMException
public static void createPROPERTIES(Document pDoc, Element pParentE, CIMProperty<?>[] pProperties) throws WBEMException
pDoc
- pParentE
- pProperties
- WBEMException
public 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
- WBEMException
public static String[] cimObjectArrayToXMLString(Object pObj) throws WBEMException
pObj
- WBEMException
public static Element createPROPERTY(Document pDoc, Element pParentE, CIMProperty<?> pProperty) throws WBEMException
pDoc
- pParentE
- pProperty
- WBEMException
public static Element createVALUEARRAY(Document pDoc, Element pParentE, Object[] pValA) throws WBEMException
pDoc
- pParentE
- pValA
- WBEMException
public static Element createVALUE(Document pDoc, Element pParentE, Object pArgValue) throws WBEMException
pDoc
- pParentE
- pArgValue
- WBEMException
public static Element createINSTANCE(Document pDoc, Element pParentE, CIMInstance pInstance) throws WBEMException
pDoc
- pParentE
- pInstance
- WBEMException
public static Element createOBJECTPATH(Document pDoc, Element pParentE, CIMObjectPath pPath) throws WBEMException
pDoc
- pParentE
- pPath
- WBEMException
public static Element createOBJECTNAME(Document pDoc, Element pParentE, CIMObjectPath pPath) throws WBEMException
pDoc
- pParentE
- pPath
- WBEMException
public static Element createLOCALINSTANCEPATH(Document pDoc, Element pParentE, CIMObjectPath pPath) throws WBEMException
pDoc
- pParentE
- pPath
- WBEMException
public static Element createLOCALCLASSPATH(Document pDoc, Element pParentE, CIMObjectPath pPath) throws WBEMException
pDoc
- pParentE
- pPath
- WBEMException
public static Element createLOCALOBJECTPATH(Document pDoc, Element pParentE, CIMObjectPath pPath) throws WBEMException
pDoc
- pParentE
- pPath
- WBEMException
public static Element createVALUEREFERENCE(Document pDoc, Element pParentE, CIMObjectPath pPath) throws WBEMException
pDoc
- pParentE
- pPath
- WBEMException
public static Element createINSTANCENAME(Document doc, Element parentE, CIMObjectPath instanceOP) throws WBEMException
doc
- parentE
- instanceOP
- WBEMException
public 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
- WBEMException
public static Element createPARAMETER(Document pDoc, Element pParentE, CIMParameter<?> pParameter) throws WBEMException
pDoc
- pParentE
- pParameter
- WBEMException
public static void createMETHODS(Document pDoc, Element pParentE, CIMMethod<?>[] pMethods, String pClassName) throws WBEMException
pDoc
- pParentE
- pMethods
- pClassName
- WBEMException
public static Element createMETHOD(Document pDoc, Element pParentE, CIMMethod<?> pMethod, String pClassName) throws WBEMException
pDoc
- pParentE
- pMethod
- pClassName
- WBEMException
public static Element createCLASS(Document pDoc, Element pParentE, CIMClass pClass) throws WBEMException
pDoc
- pParentE
- pClass
- WBEMException
public 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
- WBEMException
public static Element createVALUENAMEDINSTANCE(Document pDoc, Element pParentE, CIMObjectPath pPath, CIMInstance pInst) throws WBEMException
pDoc
- pParentE
- pPath
- pInst
- WBEMException
public static Element createVALUENAMEDINSTANCE(Document pDoc, Element pParentE, CIMInstance pInst) throws WBEMException
pDoc
- pParentE
- pInst
- WBEMException
public static Element createVALUEOBJECTWITHPATH(Document pDoc, Element pParentE, Object pObj, String pNameSpace) throws WBEMException
pDoc
- pParentE
- pObj
- pNameSpace
- WBEMException
public static Element createVALUEOBJECTWITHLOCALPATH(Document pDoc, Element pParentE, Object pObj, String pNameSpace) throws WBEMException
pDoc
- pParentE
- pObj
- pNameSpace
- WBEMException
public 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
- WBEMException
public static Element createIRETURNVALUE_ASSOCIATORS_NAMES(Document pDoc, Element pParentE, CIMObjectPath[] pResultSet) throws Exception
pDoc
- pParentE
- pResultSet
- Exception
public static Element createIRETURNVALUE_ASSOCIATORS(Document pDoc, Element pParentE, Object[] pResultSet, String pNameSpace) throws Exception
pDoc
- pParentE
- pResultSet
- pNameSpace
- Exception
public static Element createIRETURNVALUE_ENUMERATE_INSTANCENAME(Document pDoc, Element pParentE, Object[] pResultSet, String pNameSpace) throws Exception
pDoc
- pParentE
- pResultSet
- pNameSpace
- Exception
public static Element createIRETURNVALUE(Document pDoc, Element pParentE, Object[] pResultSet) throws WBEMException
pDoc
- pParentE
- pResultSet
- WBEMException
public 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
- WBEMException
public 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, 2009 IBM Corporation. All Rights Reserved.