Class AbstractValueVisitor

    • Constructor Detail

      • AbstractValueVisitor

        public AbstractValueVisitor()
    • Method Detail

      • defaultVisit

        protected void defaultVisit​(IonValue value)
                             throws java.lang.Exception
        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.

        Parameters:
        value - the value to visit.
        Throws:
        java.lang.UnsupportedOperationException - always thrown unless subclass overrides this implementation.
        java.lang.Exception - subclasses can throw this; it will be propagated by the other visit methods.
      • visit

        public void visit​(IonBlob value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(IonBool value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(IonClob value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(IonDatagram value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(IonDecimal value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(IonFloat value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(IonInt value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(IonList value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(IonNull value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(IonSexp value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(IonString value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(IonStruct value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(IonSymbol value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(IonTimestamp value)
                   throws java.lang.Exception
        Specified by:
        visit in interface ValueVisitor
        Throws:
        java.lang.Exception