org.sblim.cimclient.internal.cimxml.sax

Class EmbObjHandler

public class EmbObjHandler extends Object

EmbObjHandler helps the parsing of embedded object elements.
Method Summary
voidaddValueNode(AbstractValueNode pValueNode)
addValueNode
CIMDataTypegetArrayType()
getArrayType useful e.g. for PROPERTY.ARRAY
CIMDataTypegetRawType()
getRawType
CIMDataTypegetType()
getType
ObjectgetValue()
getValue
static EmbObjHandlerinit(EmbObjHandler pHandler, String pNodeName, Attributes pAttribs, SAXSession pSession, QualifiedNodeHandler pQNodeHandler, boolean pCheckEmbObjAttrib)
Generic initialization.
voidinitInst(String pNodeName, Attributes pAttribs, SAXSession pSession, QualifiedNodeHandler pQNodeHandler, boolean pCheckEmbObjAttrib)
Generic instance initialization.

Method Detail

addValueNode

public void addValueNode(AbstractValueNode pValueNode)
addValueNode

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

getArrayType

public CIMDataType getArrayType()
getArrayType useful e.g. for PROPERTY.ARRAY

Returns: CIMDataType

Throws: SAXException

getRawType

public CIMDataType getRawType()
getRawType

Returns: the type which is retrieved from the XML attributes

getType

public CIMDataType getType()
getType

Returns: Object

Throws: SAXException

getValue

public Object getValue()
getValue

Returns: Object

Throws: SAXException

init

public static EmbObjHandler init(EmbObjHandler pHandler, String pNodeName, Attributes pAttribs, SAXSession pSession, QualifiedNodeHandler pQNodeHandler, boolean pCheckEmbObjAttrib)
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)
Generic instance initialization.

Parameters: pNodeName pAttribs pSession pQNodeHandler pCheckEmbObjAttrib

Throws: SAXException

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