EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
IonText |
clone()
Creates a copy of this value and all of its children.
|
void |
setValue(String value)
Changes the content.
|
String |
stringValue()
Gets the characters of this text 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, writeToString stringValue()
null if
this.isNullValue().UnknownSymbolException - if this is a symbol with unknown text.IonSymbol.symbolValue()void setValue(String value) throws EmptySymbolException
value - the new value of this text value;
may be null to make this an Ion null value.EmptySymbolException - if this is an IonSymbol and
value is the empty string.IonText 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.