Class Printer.PrinterVisitor

    • Field Detail

      • myOut

        protected final java.lang.Appendable myOut
        Deprecated.
    • Constructor Detail

      • PrinterVisitor

        public PrinterVisitor​(Printer.Options options,
                              java.lang.Appendable out)
        Deprecated.
    • Method Detail

      • writeChild

        protected void writeChild​(IonValue value,
                                  boolean quoteOperators)
                           throws java.lang.Exception
        Deprecated.
        Recurse down into a container, we push the current value of myQuoteOperators onto the stack and replace it with the given value.
        Parameters:
        value -
        quoteOperators - replaces the current value of myQuoteOperators during the recursive visitation.
        Throws:
        java.lang.Exception - propagated from visitation of value.
        java.lang.NullPointerException - if value is null.
      • writeAnnotations

        public void writeAnnotations​(IonValue value)
                              throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • writeNull

        public void writeNull​(java.lang.String type)
                       throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • writeSequenceContent

        public void writeSequenceContent​(IonSequence value,
                                         boolean quoteOperators,
                                         char open,
                                         char separator,
                                         char close)
                                  throws java.io.IOException,
                                         java.lang.Exception
        Deprecated.
        Throws:
        java.io.IOException
        java.lang.Exception
      • writeSymbolToken

        public void writeSymbolToken​(SymbolToken sym)
                              throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • writeSymbol

        public void writeSymbol​(java.lang.String text)
                         throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • writeString

        public void writeString​(java.lang.String text)
                         throws java.io.IOException
        Deprecated.
        Parameters:
        text - may be null
        Throws:
        java.io.IOException
      • defaultVisit

        protected void defaultVisit​(IonValue value)
        Deprecated.
        Description copied from class: AbstractValueVisitor
        Default visitation behavior, called by all visit methods in AbstractValueVisitor. Subclasses should override this unless they override all visit methods.

        This implementation always throws UnsupportedOperationException.

        Overrides:
        defaultVisit in class AbstractValueVisitor
        Parameters:
        value - the value to visit.
      • visit

        public void visit​(IonList value)
                   throws java.io.IOException,
                          java.lang.Exception
        Deprecated.
        Specified by:
        visit in interface ValueVisitor
        Overrides:
        visit in class AbstractValueVisitor
        Throws:
        java.io.IOException
        java.lang.Exception
      • visit

        public void visit​(IonSexp value)
                   throws java.io.IOException,
                          java.lang.Exception
        Deprecated.
        Specified by:
        visit in interface ValueVisitor
        Overrides:
        visit in class AbstractValueVisitor
        Throws:
        java.io.IOException
        java.lang.Exception