OverviewSingleDeprecated

jsx3

class Boolean

jsx3.Boolean

class Boolean
Boolean class encapsulates GI's XML boolean values (0 and 1 rather than true and false).

Field Summary
static int
FALSE
0
static int
TRUE
1
Method Summary
static int
Returns jsx3.Boolean.TRUE or jsx3.Boolean.FALSE.
Field Detail

FALSE

static final int FALSE
0

TRUE

static final int TRUE
1
Method Detail

valueOf

static int valueOf(v : Object)
Returns jsx3.Boolean.TRUE or jsx3.Boolean.FALSE.

Parameters:

vboolean (or similar) that when evaluated via an 'if' would result in a true false; For example, null, 0 (numeric zero), and false all return jsx3.Boolean.FALSE

Returns:

jsx3.Boolean.TRUE or jsx3.Boolean.FALSE