Package | Description |
---|---|
software.amazon.ion |
Public interfaces of the core Ion system.
|
Modifier and Type | Field and Description |
---|---|
static SymbolToken[] |
SymbolToken.EMPTY_ARRAY
A zero-length array.
|
Modifier and Type | Method and Description |
---|---|
SymbolToken |
SymbolTable.find(String text)
Finds a symbol already interned by this table.
|
SymbolToken |
IonReader.getFieldNameSymbol()
Gets the current value's field name as a symbol token (text + ID).
|
SymbolToken |
IonValue.getFieldNameSymbol()
Gets the field name attached to this value as an interned symbol
(text + ID).
|
SymbolToken[] |
IonReader.getTypeAnnotationSymbols()
Gets the current value's annotations as symbol tokens (text + ID).
|
SymbolToken[] |
IonValue.getTypeAnnotationSymbols()
Gets this value's user type annotations as interned symbols (text + ID).
|
SymbolToken |
SymbolTable.intern(String text)
Adds a new symbol to this table, or finds an existing definition of it.
|
SymbolToken |
IonSymbol.symbolValue()
Returns this value as a symbol token (text + ID).
|
SymbolToken |
IonReader.symbolValue()
Returns the current value as a symbol token (text + ID).
|
Modifier and Type | Method and Description |
---|---|
void |
IonStruct.add(SymbolToken fieldName,
IonValue child)
Adds a new field to this struct using a given name and/or SID.
|
IonSymbol |
ValueFactory.newSymbol(SymbolToken value)
Constructs a new Ion symbol with the given symbol token.
|
void |
IonWriter.setFieldNameSymbol(SymbolToken name)
Sets the pending field name to the given token.
|
void |
IonWriter.setTypeAnnotationSymbols(SymbolToken... annotations)
Sets the full list of pending annotations to the given symbols.
|
void |
IonValue.setTypeAnnotationSymbols(SymbolToken... annotations)
Replaces all type annotations with the given symbol tokens.
|
void |
IonWriter.writeSymbolToken(SymbolToken content)
Writes the content of an Ion symbol value.
|