Interface _Private_IonValue

    • Method Detail

      • getElementId

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

        int findTypeAnnotation​(java.lang.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:
        java.lang.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:
        java.lang.UnsupportedOperationException - if this is an IonDatagram.
      • dump

        void dump​(java.io.PrintWriter out)
      • validate

        java.lang.String validate()