| Modifier and Type | Class and Description |
|---|---|
| protected class | IonDatagramLite.
Encapsulates an iterator and implements a custom remove method this is tied to the _child array of the IonSequenceImpl through the _children and _child_count members which this iterator directly uses. |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final IonCatalog | |
| private IonSymbolLite | |
| private SymbolTable | |
| private int | |
| private final IonSystemLite | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(ValueVisitor
will have one of its visitor)visit methods called.Implements abstract com. Implements com. Entry point for visitor pattern. |
| public boolean | add(IonValue
is the value to be appended to this sequence. child)Overrides com. Implements com. Appends a child value to the end of this sequence. |
| public ValueFactory | add()
Overrides com. Implements com. Provides a factory that when invoked constructs a new value and
|
| public void | add(int
index at which the specified element is to be inserted index, IonValue is the element to be appended to this sequence. element)Overrides com. Implements com. This inherited method is not yet supported by datagrams. |
| public ValueFactory | add(final int
element to be appended to this list index)Overrides com. Implements com. This inherited method is not yet supported by datagrams. |
| public boolean | addAll(Collection<? extends IonValue>
elements to be appended to this sequence. c)Overrides com. Implements com. Appends all of the elements in the specified collection to the end of this sequence, in the order that they are returned by the collection's iterator. |
| public boolean | addAll(int
index at which to insert first element from the specified collection. index, Collection<? extends IonValue> elements to be inserted into this sequence. c)Overrides com. Implements com. This inherited method is not yet supported by datagrams. |
| public void | addTypeAnnotation(String
as a string value. annotation)Overrides com. Implements com. This inherited method is not supported by datagrams. |
| public void | |
| public int | byteSize()
Implements com. Gets the number of bytes used to encode this datagram. |
| public IonDatagram | clone()
Overrides com. Implements com. Creates a copy of this value and all of its children. |
| public <T extends IonValue> T[] | extract(Class<T> type)
Overrides com. Implements com. Removes all children of this sequence, returning them in an array. |
| protected synchronized IonSymbolLite | |
| public SymbolTable | getAssignedSymbolTable()
Overrides com. Implements com. Returns the symbol table that is directly associated with this value, without doing any recursive lookup. |
| public byte[] | getBytes()
Implements com. Copies the binary-encoded form of this datagram into a new byte array. |
| public int | getBytes(byte[]
the array into which bytes are to be written. dst)Implements com. Copies the binary-encoded form of this datagram into a given array. |
| public int | getBytes(byte[]
the array into which bytes are to be written. dst, int the offset within the array of the first byte to be
written; must be non-negative and no larger than offset)dst.lengthImplements com. Copies the binary-encoded form of this datagram into a given sub-array. |
| public int | getBytes(OutputStream
the output stream to which to write the data. out)Implements com. Copies the binary-encoded form of this datagram to a specified stream. |
| public IonContainerLite | getContainer()
Overrides com. Implements com. Gets the container of this value,
or |
| public IonContext | getContextForIndex(IonValue element, int index)
Overrides com.
|
| public SymbolToken | getFieldNameSymbol()
Overrides com. Implements com. Gets the field name attached to this value as an interned symbol (text + ID). |
| public SymbolTable | getSymbolTable()
Overrides com. Implements com. This inherited method is not supported by datagrams because there's no single symbol table used across the contents. |
| public IonSystemLite | getSystem()
Overrides com. Implements com. Get the IonSystem concrete object that created the IonValue that is associated with this context. |
| public SymbolToken[] | getTypeAnnotationSymbols()
Overrides com. Implements com. Gets this value's user type annotations as interned symbols (text + ID). |
| public IonType | |
| public int | hashCode()
Overrides com. Implements com. Returns the hash code value for this list. |
| pack-priv int | |
| public ListIterator | listIterator(int
index of first element to be returned from the list iterator (by a call
to the index)next method).Overrides com. Implements com. Returns a list iterator of the elements in this sequence (in proper order), starting at the specified position in this sequence. |
| public void | makeReadOnly()
Overrides com. Implements com. Marks this instance and its children to be immutable. |
| public IonValue | set(int
index of the element to replace. index, IonValue element to be stored at the specified position. element)Overrides com. Implements com. This inherited method is not yet supported by datagrams. |
| public void | setSymbolTable(SymbolTable
must be local or system table. May be null. symbols)Overrides com. Implements com. Makes this symbol table current for this value. |
| pack-priv void | |
| pack-priv IonValueLite | shallowClone(IonContext
the context applicable to the value's parent. context)Implements abstract com. Clones the value's annotations and field name (if any). |
| public IonValue | systemGet(int
must be less than index).Implements com. Gets a selected element from this datagram, potentially getting a hidden system element (such as a symbol table). |
| public ListIterator | systemIterator()
Implements com. Iterate all values in the datagram, including the otherwise-hidden system values such as version markers and symbol tables. |
| public int | systemSize()
Implements com. Gets the number of elements in the datagram, including system elements such as version markers and symbol tables. |
| public byte[] | toBytes()
Implements com. Copies the binary-encoded form of this datagram into a new byte array. |
| public IonValueLite | topLevelValue()
Overrides com. Implements com. Finds the top level value above this value. |
| public final void | writeTo(IonWriter writer)
Overrides com. Implements com. Copies this value to the given |