org.sblim.cimclient.internal.cimxml

Class CIMXMLParserImpl.ValueTypeHandler

private static class CIMXMLParserImpl.ValueTypeHandler extends Object

Class ValueTypeHandler determines the value and type of a KEYVALUE XML element, when the VALUETYPE attribute is provided instead of the exact TYPE attribute. There is a very similar code section in the PULL and SAX parser, but that section wasn't made common since in ideal case the DOM parser will be removed.
Constructor Summary
ValueTypeHandler(String pValueTypeStr, String pValueStr)
Ctor.
Method Summary
CIMDataTypegetType()
getType
ObjectgetValue()
getValue

Constructor Detail

ValueTypeHandler

public ValueTypeHandler(String pValueTypeStr, String pValueStr)
Ctor.

Parameters: pValueTypeStr pValueStr

Throws: CIMXMLParseException

Method Detail

getType

public CIMDataType getType()
getType

Returns: CIMDataType

getValue

public Object getValue()
getValue

Returns: Object

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