public class XSBooleanValue extends Object
| コンストラクタと説明 |
|---|
XSBooleanValue()
Constructor.
|
XSBooleanValue(Boolean newValue,
boolean numericRepresentation)
Constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getValue()
Gets the boolean value.
|
int |
hashCode() |
boolean |
isNumericRepresentation()
Gets whether to use the numeric or lexical representation.
|
void |
setNumericRepresentation(boolean numericRepresentation)
Sets whether to use the numeric or lexical representation.
|
void |
setValue(Boolean newValue)
Sets the boolean value.
|
String |
toString() |
static String |
toString(Boolean value,
boolean numericRepresentation)
Converts a boolean value into a string.
|
static XSBooleanValue |
valueOf(String booleanString)
Parses a string meant to represent a boolean.
|
public XSBooleanValue()
public XSBooleanValue(Boolean newValue, boolean numericRepresentation)
newValue - the valuenumericRepresentation - whether to use a numeric or lexical representationpublic Boolean getValue()
public void setValue(Boolean newValue)
newValue - the boolean valuepublic boolean isNumericRepresentation()
public void setNumericRepresentation(boolean numericRepresentation)
numericRepresentation - whether to use the numeric or lexical representationpublic static String toString(Boolean value, boolean numericRepresentation)
value - the boolean valuenumericRepresentation - whether to use numeric of lexical representationpublic static XSBooleanValue valueOf(String booleanString)
booleanString - the string to parseCopyright © 2012. All Rights Reserved.