Class EmbObjHandler
java.lang.Object
org.sblim.cimclient.internal.cimxml.sax.EmbObjHandler
EmbObjHandler helps the parsing of embedded object elements.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addValueNode
(AbstractValueNode pValueNode) addValueNodegetArrayType useful e.g.getRawTypegetType()
getTypegetValue()
getValuestatic EmbObjHandler
init
(EmbObjHandler pHandler, String pNodeName, Attributes pAttribs, SAXSession pSession, QualifiedNodeHandler pQNodeHandler, boolean pCheckEmbObjAttrib) Generic initialization.void
initInst
(String pNodeName, Attributes pAttribs, SAXSession pSession, QualifiedNodeHandler pQNodeHandler, boolean pCheckEmbObjAttrib) Generic instance initialization.
-
Method Details
-
init
public static EmbObjHandler init(EmbObjHandler pHandler, String pNodeName, Attributes pAttribs, SAXSession pSession, QualifiedNodeHandler pQNodeHandler, boolean pCheckEmbObjAttrib) throws SAXException Generic initialization.- Parameters:
pHandler
-pNodeName
-pAttribs
-pSession
-pQNodeHandler
-pCheckEmbObjAttrib
-- Returns:
- EmbObjHandler
- Throws:
SAXException
-
initInst
public void initInst(String pNodeName, Attributes pAttribs, SAXSession pSession, QualifiedNodeHandler pQNodeHandler, boolean pCheckEmbObjAttrib) throws SAXException Generic instance initialization.- Parameters:
pNodeName
-pAttribs
-pSession
-pQNodeHandler
-pCheckEmbObjAttrib
-- Throws:
SAXException
-
getValue
getValue- Returns:
- Object
- Throws:
SAXException
-
getType
getType- Returns:
- Object
- Throws:
SAXException
-
getRawType
getRawType- Returns:
- the type which is retrieved from the XML attributes
-
getArrayType
getArrayType useful e.g. for PROPERTY.ARRAY- Returns:
- CIMDataType
- Throws:
SAXException
-
addValueNode
addValueNode- Parameters:
pValueNode
- - can be ValueNode ore ValueArrayNode for Embedded Objects
-