Package org.sblim.cimclient.internal.uri
Class BooleanValue
java.lang.Object
org.sblim.cimclient.internal.uri.Value
org.sblim.cimclient.internal.uri.BooleanValue
Class BooleanValue parses and encapsulates a boolean value.
-
Method Summary
-
Method Details
-
parse
parse- Parameters:
pUriStr
-pThrow
-- Returns:
Value
ornull
ifpThrow
isfalse
and parsing failed- Throws:
IllegalArgumentException
- if parsing failed andpThrow
istrue
-
parse
Parses an untyped boolean value.- Parameters:
pUriStr
-- Returns:
- Value
-
getValue
public boolean getValue()getValue- Returns:
- the
boolean
value.
-
getBoolean
getBoolean- Returns:
- Boolean
-
toString
-
getTypeInfo
Description copied from class:Value
getTypeInfo- Specified by:
getTypeInfo
in classValue
- Returns:
- the type description string of the Value.
- See Also:
-