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 Summary
Modifier and TypeMethodDescriptionvoid
addValueNode
(AbstractValueNode pValueNode) addValueNodegetArrayType useful e.g.getRawTypegetType()
getTypejava.lang.Object
getValue()
getValuestatic 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 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.SAXExceptiongetValue- Returns:
- Object
- Throws:
org.xml.sax.SAXException
-
getType
getType- Returns:
- Object
- Throws:
org.xml.sax.SAXException
-
getRawType
getRawType- Returns:
- the type which is retrieved from the XML attributes
-
getArrayType
getArrayType useful e.g. for PROPERTY.ARRAY- Returns:
- CIMDataType
- Throws:
org.xml.sax.SAXException
-
addValueNode
addValueNode- Parameters:
pValueNode
- - can be ValueNode ore ValueArrayNode for Embedded Objects
-