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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValueNode(AbstractValueNode pValueNode)
addValueNodeCIMDataType
getArrayType()
getArrayType useful e.g.CIMDataType
getRawType()
getRawTypeCIMDataType
getType()
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.
-
-
-
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
-
-