Interface _Private_IonValue

All Superinterfaces:
Cloneable, IonValue
All Known Subinterfaces:
_Private_IonDatagram

public interface _Private_IonValue extends IonValue
NOT FOR APPLICATION USE!
  • Method Details

    • getElementId

      int getElementId()
      Returns:
      int the offset of this value in its containers member list
    • getFieldNameSymbol

      SymbolToken getFieldNameSymbol(_Private_IonValue.SymbolTableProvider symbolTableProvider)
      Overrides IonValue.getFieldNameSymbol() for use when there exists a SymbolTableProvider implementation for this IonValue.
      Parameters:
      symbolTableProvider - - provides this IonValue's symbol table
      Returns:
      the field name SymbolToken
      See Also:
    • getTypeAnnotationSymbols

      SymbolToken[] getTypeAnnotationSymbols(_Private_IonValue.SymbolTableProvider symbolTableProvider)
      Overrides IonValue.getTypeAnnotationSymbols() for use when there exists a SymbolTableProvider implementation for this IonValue.
      Parameters:
      symbolTableProvider - - provides this IonValue's symbol table
      Returns:
      the type annotation SymbolTokens
      See Also:
    • findTypeAnnotation

      int findTypeAnnotation(String annotation)
      Returns the given annotation's index in the value's annotations list, or -1 if not present.
      Parameters:
      annotation - the annotation to find.
      Returns:
      the index or -1.
    • setSymbolTable

      void setSymbolTable(SymbolTable symbols)
      Makes this symbol table current for this value. This may directly apply to this IonValue if this value is either loose or a top level datagram member. Or it may be delegated to the IonContainer this value is a contained in.

      Assigning null forces any symbol values to be resolved to strings and any associated symbol table will be removed.

      Parameters:
      symbols - must be local or system table. May be null.
      Throws:
      UnsupportedOperationException - if this is a datagram.
    • getAssignedSymbolTable

      SymbolTable getAssignedSymbolTable()
      Returns the symbol table that is directly associated with this value, without doing any recursive lookup. Values that are not top-level will return null as they don't actually own their own symbol table.
      Throws:
      UnsupportedOperationException - if this is an IonDatagram.
    • dump

      void dump(PrintWriter out)
    • validate

      String validate()