org.sblim.cimclient.internal.uri
Class BooleanValue

java.lang.Object
  extended by org.sblim.cimclient.internal.uri.Value
      extended by org.sblim.cimclient.internal.uri.BooleanValue

public class BooleanValue
extends Value

Class BooleanValue parses and encapsulates a boolean value.


Method Summary
 java.lang.Boolean getBoolean()
          getBoolean
 java.lang.String getTypeInfo()
          getTypeInfo
 boolean getValue()
          getValue
static Value parse(URIString pUriStr)
          Parses an untyped boolean value.
static Value parse(URIString pUriStr, boolean pThrow)
          parse
 java.lang.String toString()
           
 
Methods inherited from class org.sblim.cimclient.internal.uri.Value
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

parse

public static Value parse(URIString pUriStr,
                          boolean pThrow)
                   throws java.lang.IllegalArgumentException
parse

Parameters:
pUriStr -
pThrow -
Returns:
Value or null if pThrow is false and parsing failed
Throws:
java.lang.IllegalArgumentException - if parsing failed and pThrow is true

parse

public static Value parse(URIString pUriStr)
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 class java.lang.Object
See Also:
Object.toString()

getTypeInfo

public java.lang.String getTypeInfo()
Description copied from class: Value
getTypeInfo

Specified by:
getTypeInfo in class Value
Returns:
the type description string of the Value.
See Also:
Value.getTypeInfo()


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