public class BooleanValue extends AbstractValue
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
bool |
static BooleanValue |
BOOLEAN_VALUE_0 |
static BooleanValue |
BOOLEAN_VALUE_1 |
static BooleanValue |
BOOLEAN_VALUE_2 |
static BooleanValue |
BOOLEAN_VALUE_3 |
static BooleanValue |
BOOLEAN_VALUE_FALSE |
static BooleanValue |
BOOLEAN_VALUE_TRUE |
protected char[] |
characters |
protected String |
sValue |
slen, valueType| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static BooleanValue |
getBooleanValue(boolean bool) |
static BooleanValue |
getBooleanValue(int boolID) |
char[] |
getCharacters()
Returns character array containing the values represented as String
representation for XML.
|
void |
getCharacters(char[] cbuffer,
int offset)
Fills character array with the value represented as String
|
int |
getCharactersLength()
Length of string representation
|
int |
hashCode() |
static BooleanValue |
parse(String value) |
boolean |
toBoolean() |
String |
toString()
Returns string representation.
|
String |
toString(char[] cbuffer,
int offset)
Returns string representation by making use of the passed character
array.
|
getValueTypepublic static final BooleanValue BOOLEAN_VALUE_FALSE
public static final BooleanValue BOOLEAN_VALUE_TRUE
public static final BooleanValue BOOLEAN_VALUE_0
public static final BooleanValue BOOLEAN_VALUE_1
public static final BooleanValue BOOLEAN_VALUE_2
public static final BooleanValue BOOLEAN_VALUE_3
protected final boolean bool
protected final char[] characters
protected final String sValue
public static BooleanValue getBooleanValue(boolean bool)
public static BooleanValue getBooleanValue(int boolID)
public static BooleanValue parse(String value)
public boolean toBoolean()
public int getCharactersLength()
Valuepublic char[] getCharacters()
ValuePlease consider using getCharacters(char[] cbuffer, int offset).
getCharacters in interface ValuegetCharacters in class AbstractValuepublic void getCharacters(char[] cbuffer,
int offset)
Valuecbuffer - character bufferoffset - character buffer offsetpublic String toString()
ValuetoString in interface ValuetoString in class AbstractValueStringpublic String toString(char[] cbuffer, int offset)
ValuetoString in interface ValuetoString in class AbstractValuecbuffer - character bufferoffset - character buffer offsetCopyright © 2018 Siemens AG. All rights reserved.