org.sblim.cimclient.internal.cimxml.sax
Class EmbObjHandler

java.lang.Object
  extended by org.sblim.cimclient.internal.cimxml.sax.EmbObjHandler

public class EmbObjHandler
extends java.lang.Object

EmbObjHandler helps the parsing of embedded object elements.


Method Summary
 void addValueNode(AbstractValueNode pValueNode)
          addValueNode
 CIMDataType getArrayType()
          getArrayType useful e.g.
 CIMDataType getRawType()
          getRawType
 CIMDataType getType()
          getType
 java.lang.Object getValue()
          getValue
static EmbObjHandler init(EmbObjHandler pHandler, java.lang.String pNodeName, org.xml.sax.Attributes pAttribs, SAXSession pSession, QualifiedNodeHandler pQNodeHandler, boolean pCheckEmbObjAttrib)
          Generic initialization.
 void initInst(java.lang.String pNodeName, org.xml.sax.Attributes pAttribs, SAXSession pSession, QualifiedNodeHandler pQNodeHandler, boolean pCheckEmbObjAttrib)
          Generic instance initialization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static EmbObjHandler init(EmbObjHandler pHandler,
                                 java.lang.String pNodeName,
                                 org.xml.sax.Attributes pAttribs,
                                 SAXSession pSession,
                                 QualifiedNodeHandler pQNodeHandler,
                                 boolean pCheckEmbObjAttrib)
                          throws org.xml.sax.SAXException
Generic initialization.

Parameters:
pHandler -
pNodeName -
pAttribs -
pSession -
pQNodeHandler -
pCheckEmbObjAttrib -
Returns:
EmbObjHandler
Throws:
org.xml.sax.SAXException

initInst

public void initInst(java.lang.String pNodeName,
                     org.xml.sax.Attributes pAttribs,
                     SAXSession pSession,
                     QualifiedNodeHandler pQNodeHandler,
                     boolean pCheckEmbObjAttrib)
              throws org.xml.sax.SAXException
Generic instance initialization.

Parameters:
pNodeName -
pAttribs -
pSession -
pQNodeHandler -
pCheckEmbObjAttrib -
Throws:
org.xml.sax.SAXException

getValue

public java.lang.Object getValue()
                          throws org.xml.sax.SAXException
getValue

Returns:
Object
Throws:
org.xml.sax.SAXException

getType

public CIMDataType getType()
                    throws org.xml.sax.SAXException
getType

Returns:
Object
Throws:
org.xml.sax.SAXException

getRawType

public CIMDataType getRawType()
getRawType

Returns:
the type which is retrieved from the XML attributes

getArrayType

public CIMDataType getArrayType()
                         throws org.xml.sax.SAXException
getArrayType useful e.g. for PROPERTY.ARRAY

Returns:
CIMDataType
Throws:
org.xml.sax.SAXException

addValueNode

public void addValueNode(AbstractValueNode pValueNode)
addValueNode

Parameters:
pValueNode - - can be ValueNode ore ValueArrayNode for Embedded Objects


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