The type of context used by a value depends on its position.
TopLevelContext or an
IonSystemLite for a context.
IonContainer for a context.
IonSystemLite for a context.
Concrete contexts simply return the correct values (and own them). Containers return themselves as the parent and delegate to their parent for the system and symbol table values. Note that values contained directly by a datagram may store a symbol table locally as there may be more than one symbol table in a datagram.
| Modifier and Type | Method and Description |
|---|---|
| public IonContainerLite | Returns: the container of the value; null for stand-alone top level values.Return the container of values associated with this context. |
| public SymbolTable | Returns: the directly assigned symbol table, with no recursive lookup.Returns the symbol table that is directly assigned to this context. |
| public IonSystemLite | Returns: not nullGet the IonSystem concrete object that created the IonValue that is associated with this context. |
| getContextContainer | back to summary |
|---|---|
| public IonContainerLite getContextContainer() Return the container of values associated with this context.
If this context is an
| |
| getContextSymbolTable | back to summary |
|---|---|
| public SymbolTable getContextSymbolTable() Returns the symbol table that is directly assigned to this context.
For
| |
| getSystem | back to summary |
|---|---|
| public IonSystemLite getSystem() Get the IonSystem concrete object that created the IonValue that is associated with this context. Generally this delegates to the parent.
| |