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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Method Details
-
parse
public static Value parse(URIString pUriStr, boolean pThrow) throws java.lang.IllegalArgumentException parse- Parameters:
pUriStr
-pThrow
-- Returns:
Value
ornull
ifpThrow
isfalse
and parsing failed- Throws:
java.lang.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
public java.lang.Boolean getBoolean()getBoolean- Returns:
- Boolean
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
- See Also:
-
Object.toString()
-
getTypeInfo
public java.lang.String getTypeInfo()Description copied from class:Value
getTypeInfo- Specified by:
getTypeInfo
in classValue
- Returns:
- the type description string of the Value.
- See Also:
-