javax.wbem.cimxml
Interface CIMXmlUtil


public interface CIMXmlUtil


Method Summary
 java.lang.String CIMClassToXml(CIMClass obj)
          Returns an XML representation of this CIM class.
 java.lang.String CIMClassToXml(CIMClass obj, boolean showImplied)
          Returns an XML representation of this CIM class.
 java.lang.String CIMClassToXml(CIMClass obj, boolean includeQualifiers, boolean includeClassOrigin, java.lang.String[] propertyList, boolean showImplied)
          Returns an XML representation of this CIM class.
 java.lang.String CIMFlavorToXml(CIMFlavor obj)
          Returns an XML representation of this CIM flavor.
 java.lang.String CIMFlavorToXml(CIMFlavor obj, boolean showImplied)
          Returns an XML representation of this CIM flavor.
 java.lang.String CIMInstanceToXml(CIMInstance obj)
          Returns an XML representation of this CIM instance.
 java.lang.String CIMInstanceToXml(CIMInstance obj, boolean showImplied)
          Returns an XML representation of this CIM instance.
 java.lang.String CIMInstanceToXml(CIMInstance obj, boolean includeQualifiers, boolean includeClassOrigin, java.lang.String[] propertyList, boolean showImplied)
          Returns an XML representation of this CIM instance.
 java.lang.String CIMMethodToXml(CIMMethod obj)
          Returns an XML representation of this CIM method.
 java.lang.String CIMMethodToXml(CIMMethod obj, boolean showImplied)
          Returns an XML representation of this CIM method.
 java.lang.String CIMNameSpaceToXml(CIMNameSpace obj)
          Returns an XML representation of this CIM namespace.
 java.lang.String CIMNameSpaceToXml(CIMNameSpace obj, boolean showImplied)
          Returns an XML representation of this CIM namespace.
 java.lang.String CIMObjectPathToXml(CIMObjectPath obj)
          Returns an XML representation of this CIM object path.
 java.lang.String CIMObjectPathToXml(CIMObjectPath obj, boolean showImplied)
          Returns an XML representation of this CIM object path.
 java.lang.String CIMParameterToXml(CIMParameter obj)
          Returns an XML representation of this CIM parameter.
 java.lang.String CIMParameterToXml(CIMParameter obj, boolean showImplied)
          Returns an XML representation of this CIM parameter.
 java.lang.String CIMPropertyToXml(CIMProperty obj)
          Returns an XML representation of this CIM property.
 java.lang.String CIMPropertyToXml(CIMProperty obj, boolean showImplied)
          Returns an XML representation of this CIM property.
 java.lang.String CIMQualifierToXml(CIMQualifier obj)
          Returns an XML representation of this CIM qualifier.
 java.lang.String CIMQualifierToXml(CIMQualifier obj, boolean showImplied)
          Returns an XML representation of this CIM qualifier.
 java.lang.String CIMQualifierTypeToXml(CIMQualifierType obj)
          Returns an XML representation of this CIM qualifier type.
 java.lang.String CIMQualifierTypeToXml(CIMQualifierType obj, boolean showImplied)
          Returns an XML representation of this CIM qualifier type.
 java.lang.String CIMValueToXml(CIMValue obj)
          Returns an XML representation of this CIM value.
 java.lang.String CIMValueToXml(CIMValue obj, boolean showImplied)
          Returns an XML representation of this CIM value.
 CIMClass getCIMClass(org.w3c.dom.Node node)
          Construct a Java object representing a CIM Class from the specified DOM element node.
 CIMInstance getCIMInstance(org.w3c.dom.Node node)
          Construct a Java object representing a CIM Instance from the specified DOM element node.
 CIMMethod getCIMMethod(org.w3c.dom.Node node)
          Construct a Java object representing a CIM Method from the specified DOM element node.
 CIMObjectPath getCIMObjectPath(org.w3c.dom.Node node)
          Construct a Java object representing a CIM ObjectPath from the specified DOM element node.
 CIMParameter getCIMParameter(org.w3c.dom.Node node)
          Construct a Java object representing a CIM Parameter from the specified DOM element node.
 CIMProperty getCIMProperty(org.w3c.dom.Node node)
          Construct a Java object representing a CIM Property from the specified DOM element node.
 CIMQualifier getCIMQualifier(org.w3c.dom.Node node)
          Construct a Java object representing a CIM Qualifier from the specified DOM element node.
 CIMQualifierType getCIMQualifierType(org.w3c.dom.Node node)
          Construct a Java object representing a CIM Qualifier Type from the specified DOM element node.
 CIMValue getCIMValue(org.w3c.dom.Node node, java.lang.String type)
          Construct a Java object representing a CIM Value from the specified DOM element node.
 

Method Detail

CIMClassToXml

public java.lang.String CIMClassToXml(CIMClass obj)
Returns an XML representation of this CIM class.

Parameters:
obj - a CIM Class object

CIMClassToXml

public java.lang.String CIMClassToXml(CIMClass obj,
                                      boolean showImplied)
Returns an XML representation of this CIM class.

Parameters:
obj - a CIM Class object
showImplied - if true, the implied attributes are returned

CIMClassToXml

public java.lang.String CIMClassToXml(CIMClass obj,
                                      boolean includeQualifiers,
                                      boolean includeClassOrigin,
                                      java.lang.String[] propertyList,
                                      boolean showImplied)
Returns an XML representation of this CIM class.

Parameters:
obj - a CIM Class object
includeQualifiers - if true, the qualifiers are returned.
includeClassOrigin - if true, the ClassOrigin attribute is returned
propertyList - if not null, any Properties missing from this list are not returned
showImplied - if true, the implied attributes are returned.

CIMInstanceToXml

public java.lang.String CIMInstanceToXml(CIMInstance obj)
Returns an XML representation of this CIM instance.

Parameters:
obj - a CIM Instance object

CIMInstanceToXml

public java.lang.String CIMInstanceToXml(CIMInstance obj,
                                         boolean showImplied)
Returns an XML representation of this CIM instance.

Parameters:
obj - a CIM Instance object
showImplied - if true, the implied attributes are returned

CIMInstanceToXml

public java.lang.String CIMInstanceToXml(CIMInstance obj,
                                         boolean includeQualifiers,
                                         boolean includeClassOrigin,
                                         java.lang.String[] propertyList,
                                         boolean showImplied)
Returns an XML representation of this CIM instance.

Parameters:
obj - a CIM Instance object
includeQualifiers - if true, the qualifiers are returned.
includeClassOrigin - if true, the ClassOrigin attribute is returned
propertyList - if not null, any Properties missing from this list are not returned
showImplied - if true, the implied attributes are returned

CIMFlavorToXml

public java.lang.String CIMFlavorToXml(CIMFlavor obj)
Returns an XML representation of this CIM flavor.

Parameters:
obj - a CIM Flavor object

CIMFlavorToXml

public java.lang.String CIMFlavorToXml(CIMFlavor obj,
                                       boolean showImplied)
Returns an XML representation of this CIM flavor.

Parameters:
obj - a CIM Flavor object
showImplied - if true, the implied attributes are returned

CIMMethodToXml

public java.lang.String CIMMethodToXml(CIMMethod obj)
Returns an XML representation of this CIM method.

Parameters:
obj - a CIM Method object

CIMMethodToXml

public java.lang.String CIMMethodToXml(CIMMethod obj,
                                       boolean showImplied)
Returns an XML representation of this CIM method.

Parameters:
obj - a CIM Method object
showImplied - if true, the implied attributes are returned

CIMObjectPathToXml

public java.lang.String CIMObjectPathToXml(CIMObjectPath obj)
Returns an XML representation of this CIM object path.

Parameters:
obj - a CIM ObjectPath object

CIMObjectPathToXml

public java.lang.String CIMObjectPathToXml(CIMObjectPath obj,
                                           boolean showImplied)
Returns an XML representation of this CIM object path.

Parameters:
obj - a CIM ObjectPath object
showImplied - if true, the implied attributes are returned

CIMParameterToXml

public java.lang.String CIMParameterToXml(CIMParameter obj)
Returns an XML representation of this CIM parameter.

Parameters:
obj - a CIM Parameter object

CIMParameterToXml

public java.lang.String CIMParameterToXml(CIMParameter obj,
                                          boolean showImplied)
Returns an XML representation of this CIM parameter.

Parameters:
obj - a CIM Parameter object
showImplied - if true, the implied attributes are returned

CIMQualifierTypeToXml

public java.lang.String CIMQualifierTypeToXml(CIMQualifierType obj)
Returns an XML representation of this CIM qualifier type.

Parameters:
obj - a CIM Qualifier Type object

CIMQualifierTypeToXml

public java.lang.String CIMQualifierTypeToXml(CIMQualifierType obj,
                                              boolean showImplied)
Returns an XML representation of this CIM qualifier type.

Parameters:
obj - a CIM Qualifier Type object
showImplied - if true, the implied attributes are returned

CIMPropertyToXml

public java.lang.String CIMPropertyToXml(CIMProperty obj)
Returns an XML representation of this CIM property.

Parameters:
obj - a CIM Property object

CIMPropertyToXml

public java.lang.String CIMPropertyToXml(CIMProperty obj,
                                         boolean showImplied)
Returns an XML representation of this CIM property.

Parameters:
obj - a CIM Property object
showImplied - if true, the implied attributes are returned

CIMQualifierToXml

public java.lang.String CIMQualifierToXml(CIMQualifier obj)
Returns an XML representation of this CIM qualifier.

Parameters:
obj - a CIM Qualifier object

CIMQualifierToXml

public java.lang.String CIMQualifierToXml(CIMQualifier obj,
                                          boolean showImplied)
Returns an XML representation of this CIM qualifier.

Parameters:
obj - a CIM Qualifier object
showImplied - if true, the implied attributes are returned

CIMNameSpaceToXml

public java.lang.String CIMNameSpaceToXml(CIMNameSpace obj)
Returns an XML representation of this CIM namespace.

Parameters:
obj - a CIM NameSpace object

CIMNameSpaceToXml

public java.lang.String CIMNameSpaceToXml(CIMNameSpace obj,
                                          boolean showImplied)
Returns an XML representation of this CIM namespace.

Parameters:
obj - a CIM NameSpace object
showImplied - if true, the implied attributes are returned

CIMValueToXml

public java.lang.String CIMValueToXml(CIMValue obj)
Returns an XML representation of this CIM value.

Parameters:
obj - a CIM Value object

CIMValueToXml

public java.lang.String CIMValueToXml(CIMValue obj,
                                      boolean showImplied)
Returns an XML representation of this CIM value.

Parameters:
obj - a CIM Value object
showImplied - if true, the implied attributes are returned

getCIMClass

public CIMClass getCIMClass(org.w3c.dom.Node node)
Construct a Java object representing a CIM Class from the specified DOM element node.

Parameters:
node - a DOM element node

getCIMInstance

public CIMInstance getCIMInstance(org.w3c.dom.Node node)
Construct a Java object representing a CIM Instance from the specified DOM element node.

Parameters:
node - a DOM element node

getCIMMethod

public CIMMethod getCIMMethod(org.w3c.dom.Node node)
Construct a Java object representing a CIM Method from the specified DOM element node.

Parameters:
node - a DOM element node

getCIMObjectPath

public CIMObjectPath getCIMObjectPath(org.w3c.dom.Node node)
Construct a Java object representing a CIM ObjectPath from the specified DOM element node.

Parameters:
node - a DOM element node

getCIMParameter

public CIMParameter getCIMParameter(org.w3c.dom.Node node)
Construct a Java object representing a CIM Parameter from the specified DOM element node.

Parameters:
node - a DOM element node

getCIMProperty

public CIMProperty getCIMProperty(org.w3c.dom.Node node)
Construct a Java object representing a CIM Property from the specified DOM element node.

Parameters:
node - a DOM element node

getCIMQualifier

public CIMQualifier getCIMQualifier(org.w3c.dom.Node node)
Construct a Java object representing a CIM Qualifier from the specified DOM element node.

Parameters:
node - a DOM element node

getCIMQualifierType

public CIMQualifierType getCIMQualifierType(org.w3c.dom.Node node)
Construct a Java object representing a CIM Qualifier Type from the specified DOM element node.

Parameters:
node - a DOM element node

getCIMValue

public CIMValue getCIMValue(org.w3c.dom.Node node,
                            java.lang.String type)
Construct a Java object representing a CIM Value from the specified DOM element node.

Parameters:
node - a DOM element node
type - String for the data type of this CIM Value.