Top Description Fields Methods
com.amazon.ion

public Interface IonSexp

extends IonValue, IonSequence, Collection<IonValue>
Known Direct Implementers
com.amazon.ion.impl.lite.IonSexpLite
Imports
java.util.Collection

An Ion sexp (S-expression) value.

Warning

This interface should not be implemented or extended by code outside of this library.

Field Summary

Inherited from com.amazon.ion.IonValue:
EMPTY_ARRAY

Method Summary

Modifier and TypeMethod and Description
public IonSexp
clone()

Redeclares com.amazon.ion.IonValue.clone, com.amazon.ion.IonSequence.clone.

Creates a copy of this value and all of its children.

Inherited from com.amazon.ion.IonSequence:
addaddaddaddaddAlladdAllcontainscontainsAllextractgetindexOflastIndexOflistIteratorlistIteratorremoveremoveremoveAllretainAllsetsubListtoArraytoArray
Inherited from com.amazon.ion.IonValue:
acceptaddTypeAnnotationclearTypeAnnotationsequalsgetContainergetFieldIdgetFieldNamegetFieldNameSymbolgetSymbolTablegetSystemgetTypegetTypeAnnotationsgetTypeAnnotationSymbolshashCodehasTypeAnnotationisNullValueisReadOnlymakeReadOnlyremoveFromContainerremoveTypeAnnotationsetTypeAnnotationssetTypeAnnotationSymbolstopLevelValuetoPrettyStringtoStringtoStringwriteTo
Inherited from java.util.Collection:
addaddAllclearcontainscontainsAllequalshashCodeisEmptyiteratorparallelStreamremoveremoveAllremoveIfretainAllsizespliteratorstreamtoArraytoArraytoArray

Method Detail

cloneback to summary
public IonSexp clone() throws UnknownSymbolException

Redeclares com.amazon.ion.IonValue.clone, com.amazon.ion.IonSequence.clone.

Doc from com.amazon.ion.IonValue.clone.

Creates a copy of this value and all of its children. The cloned value may use the same shared symbol tables, but it will have an independent local symbol table if necessary. The cloned value will be modifiable regardless of whether this instance 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.

Exceptions
UnknownSymbolException:
if any part of this value has unknown text but known Sid for its field name, annotation or symbol.