org.sblim.wbem.xml

Class CIMClientXML_HelperImpl


public class CIMClientXML_HelperImpl
extends java.lang.Object

CIMClientXML_HelperImpl.java (C) Copyright IBM Corp. 2005, 2009 THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. You can obtain a current copy of the Eclipse Public License from http://www.opensource.org/licenses/eclipse-1.0.php

Constructor Summary

CIMClientXML_HelperImpl()

Method Summary

Element
associatorNames_request(Document doc, CIMObjectPath objectName, String assocClass, String resultClass, String role, String resultRole)
Element
associators_request(Document doc, CIMObjectPath objectName, String assocClass, String resultClass, String role, String resultRole, boolean includeQualifiers, boolean includeClassOrigin, String[] propertyList)
Element
createCIMMessage(Document doc, Element requestE)
Element
createClass_request(Document doc, CIMObjectPath path, CIMClass cc)
Document
createIndication_response(CIMError error)
Element
createInstance_request(Document doc, CIMObjectPath name, CIMInstance instance)
Element
createMultiReq(Document doc)
Element
createQualifierType_request(Document doc, CIMObjectPath path, CIMQualifierType qt)
Element
deleteClass_request(Document doc, CIMObjectPath path)
Element
deleteInstance_request(Document doc, CIMObjectPath name)
Element
deleteQualifierType_request(Document doc, CIMObjectPath path)
static void
dumpDocument(Document doc)
Element
enumQualifierTypes_request(Document doc, CIMObjectPath path)
Element
enumerateClassNames_request(Document doc, CIMObjectPath path, boolean deepInheritance)
Element
enumerateClasses_request(Document doc, CIMObjectPath path, boolean deepInheritance, boolean localOnly, boolean includeQualifiers, boolean includeClassOrigin)
Element
enumerateInstanceNames_request(Document doc, CIMObjectPath path)
Element
enumerateInstances_request(Document doc, CIMObjectPath path, boolean deepInheritance, boolean localOnly, boolean includeQualifiers, boolean includeClassOrigin, String[] propertyList)
Element
execQuery_request(Document doc, CIMObjectPath path, String query, String queryLanguage)
Element
getClass_request(Document doc, CIMObjectPath name, boolean localOnly, boolean includeQualifiers, boolean includeClassOrigin, String[] propertyList)
DocumentBuilder
getDocumentBuilder()
Element
getInstance_request(Document doc, CIMObjectPath name, boolean localOnly, boolean includeQualifiers, boolean includeClassOrigin, String[] propertyList)
Element
getProperty_request(Document doc, CIMObjectPath path, String propertyName)
Element
getQualifier_request(Document doc, CIMObjectPath path, String qt)
Element
invokeMethod_request(Document doc, CIMObjectPath name, String methodName, Vector inArgs)
Document
newDocument()
Document
parse(InputSource is)
Element
performBatchOperation_request(Document doc, Vector operations)
Element
referenceNames_request(Document doc, CIMObjectPath path, String resultClass, String role)
Element
references_request(Document doc, CIMObjectPath path, String resultClass, String role, boolean includeQualifiers, boolean includeClassOrigin, String[] propertyList)
static void
serialize(OutputStream os, Document doc)
Element
setClass_request(Document doc, CIMObjectPath path, CIMClass cc)
Element
setInstance_request(Document doc, CIMObjectPath path, CIMInstance ci, boolean includeQualifiers, String[] propertyList)
Element
setProperty_request(Document doc, CIMObjectPath path, String propertyName, CIMValue newValue)
Element
setQualifierType_request(Document doc, CIMObjectPath path, CIMQualifierType qt)

Constructor Details

CIMClientXML_HelperImpl

public CIMClientXML_HelperImpl()
            throws ParserConfigurationException

Method Details

associatorNames_request

public Element associatorNames_request(Document doc,
                                       CIMObjectPath objectName,
                                       String assocClass,
                                       String resultClass,
                                       String role,
                                       String resultRole)

associators_request

public Element associators_request(Document doc,
                                   CIMObjectPath objectName,
                                   String assocClass,
                                   String resultClass,
                                   String role,
                                   String resultRole,
                                   boolean includeQualifiers,
                                   boolean includeClassOrigin,
                                   String[] propertyList)

createCIMMessage

public Element createCIMMessage(Document doc,
                                Element requestE)

createClass_request

public Element createClass_request(Document doc,
                                   CIMObjectPath path,
                                   CIMClass cc)

createIndication_response

public Document createIndication_response(CIMError error)

createInstance_request

public Element createInstance_request(Document doc,
                                      CIMObjectPath name,
                                      CIMInstance instance)

createMultiReq

public Element createMultiReq(Document doc)

createQualifierType_request

public Element createQualifierType_request(Document doc,
                                           CIMObjectPath path,
                                           CIMQualifierType qt)

deleteClass_request

public Element deleteClass_request(Document doc,
                                   CIMObjectPath path)

deleteInstance_request

public Element deleteInstance_request(Document doc,
                                      CIMObjectPath name)

deleteQualifierType_request

public Element deleteQualifierType_request(Document doc,
                                           CIMObjectPath path)

dumpDocument

public static void dumpDocument(Document doc)
            throws IOException

enumQualifierTypes_request

public Element enumQualifierTypes_request(Document doc,
                                          CIMObjectPath path)

enumerateClassNames_request

public Element enumerateClassNames_request(Document doc,
                                           CIMObjectPath path,
                                           boolean deepInheritance)

enumerateClasses_request

public Element enumerateClasses_request(Document doc,
                                        CIMObjectPath path,
                                        boolean deepInheritance,
                                        boolean localOnly,
                                        boolean includeQualifiers,
                                        boolean includeClassOrigin)

enumerateInstanceNames_request

public Element enumerateInstanceNames_request(Document doc,
                                              CIMObjectPath path)

enumerateInstances_request

public Element enumerateInstances_request(Document doc,
                                          CIMObjectPath path,
                                          boolean deepInheritance,
                                          boolean localOnly,
                                          boolean includeQualifiers,
                                          boolean includeClassOrigin,
                                          String[] propertyList)

execQuery_request

public Element execQuery_request(Document doc,
                                 CIMObjectPath path,
                                 String query,
                                 String queryLanguage)

getClass_request

public Element getClass_request(Document doc,
                                CIMObjectPath name,
                                boolean localOnly,
                                boolean includeQualifiers,
                                boolean includeClassOrigin,
                                String[] propertyList)

getDocumentBuilder

public DocumentBuilder getDocumentBuilder()

getInstance_request

public Element getInstance_request(Document doc,
                                   CIMObjectPath name,
                                   boolean localOnly,
                                   boolean includeQualifiers,
                                   boolean includeClassOrigin,
                                   String[] propertyList)

getProperty_request

public Element getProperty_request(Document doc,
                                   CIMObjectPath path,
                                   String propertyName)

getQualifier_request

public Element getQualifier_request(Document doc,
                                    CIMObjectPath path,
                                    String qt)

invokeMethod_request

public Element invokeMethod_request(Document doc,
                                    CIMObjectPath name,
                                    String methodName,
                                    Vector inArgs)

newDocument

public Document newDocument()

parse

public Document parse(InputSource is)
            throws IOException,
                   SAXException

performBatchOperation_request

public Element performBatchOperation_request(Document doc,
                                             Vector operations)
            throws CIMException

referenceNames_request

public Element referenceNames_request(Document doc,
                                      CIMObjectPath path,
                                      String resultClass,
                                      String role)

references_request

public Element references_request(Document doc,
                                  CIMObjectPath path,
                                  String resultClass,
                                  String role,
                                  boolean includeQualifiers,
                                  boolean includeClassOrigin,
                                  String[] propertyList)

serialize

public static void serialize(OutputStream os,
                             Document doc)
            throws IOException

setClass_request

public Element setClass_request(Document doc,
                                CIMObjectPath path,
                                CIMClass cc)

setInstance_request

public Element setInstance_request(Document doc,
                                   CIMObjectPath path,
                                   CIMInstance ci,
                                   boolean includeQualifiers,
                                   String[] propertyList)

setProperty_request

public Element setProperty_request(Document doc,
                                   CIMObjectPath path,
                                   String propertyName,
                                   CIMValue newValue)

setQualifierType_request

public Element setQualifierType_request(Document doc,
                                        CIMObjectPath path,
                                        CIMQualifierType qt)

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