Class EmbObjHandler

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

public class EmbObjHandler extends java.lang.Object
EmbObjHandler helps the parsing of embedded object elements.
  • Method Details

    • 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