EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
IonString |
clone()
Creates a copy of this value and all of its children.
|
void |
setValue(String value)
Changes the value of this string.
|
String |
stringValue()
Gets the characters of this string.
|
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()
stringValue in interface IonTextnull if this is
null.string.IonSymbol.symbolValue()void setValue(String value)
IonString 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 IonTextclone in interface IonValueUnknownSymbolException - if any part of this value has unknown text but known Sid for
its field name, annotation or symbol.