org.sblim.cimclient.internal.uri

Class BooleanValue

public class BooleanValue extends Value

Class BooleanValue parses and encapsulates a boolean value.
Method Summary
BooleangetBoolean()
getBoolean
booleangetValue()
getValue
static Valueparse(URIString pUriStr, boolean pThrow)
parse
static Valueparse(URIString pUriStr)
Parses an untyped boolean value.

Method Detail

getBoolean

public Boolean getBoolean()
getBoolean

Returns: Boolean

getValue

public boolean getValue()
getValue

Returns: the boolean value.

parse

public static Value parse(URIString pUriStr, boolean pThrow)
parse

Parameters: pUriStr pThrow

Returns: Value or null if pThrow is false and parsing failed

Throws: IllegalArgumentException if parsing failed and pThrow is true

parse

public static Value parse(URIString pUriStr)
Parses an untyped boolean value.

Parameters: pUriStr

Returns: Value

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