Interface CIMXmlUtil
public interface CIMXmlUtil
This interface provides the methods used to convert CIMElements to CIM-XML representation,
and CIM-XML representation back to CIMElements. The implementation of this instance is
not thread safe.
- Author:
- Roberto
-
Method Summary
Modifier and TypeMethodDescriptionReturns a string representing the CIM-XML of a CIMElement.getCIMElement
(String str) Construct a Java object representing the CIMElement from the XML representation.
-
Method Details
-
CIMElementToXml
Returns a string representing the CIM-XML of a CIMElement.- Parameters:
obj
- the element to be converted into XML- Returns:
- the XML represented as String
- Throws:
CIMException
- On any unrecoverable error
-
getCIMElement
Construct a Java object representing the CIMElement from the XML representation.- Parameters:
str
- XML representation of the CIMElement- Returns:
- Java Object
- Throws:
CIMException
- if any CIM error occursIOException
- if any IO error occursSAXException
- if any parse error occurs
-