EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValue()
Gets the value of this Ion
bool as a Java
boolean value. |
IonBool |
clone()
Creates a copy of this value and all of its children.
|
void |
setValue(boolean b)
Sets this instance to have a specific value.
|
void |
setValue(Boolean b)
Sets this instance to have a specific value.
|
accept, addTypeAnnotation, clearTypeAnnotations, equals, getContainer, getFieldName, getFieldNameSymbol, getSymbolTable, getSystem, getType, getTypeAnnotations, getTypeAnnotationSymbols, hashCode, hasTypeAnnotation, isNullValue, isReadOnly, makeReadOnly, removeFromContainer, removeTypeAnnotation, setTypeAnnotations, setTypeAnnotationSymbols, topLevelValue, toPrettyString, toString, toString, writeToboolean booleanValue()
throws NullValueException
bool as a Java
boolean value.NullValueException - if this.isNullValue().void setValue(boolean b)
b - the new value for this bool.void setValue(Boolean b)
b - the new value for this bool;
may be null to make this null.bool.IonBool clone() throws UnknownSymbolException
IonValueIonValue.isReadOnly().
The cloned value will be created in the context of the same
ValueFactory as this instance; if you want a copy using a
different factory, then use ValueFactory.clone(IonValue)
instead.
clone in interface IonValueUnknownSymbolException - if any part of this value has unknown text but known Sid for
its field name, annotation or symbol.