public abstract class AbstractValueVisitor extends Object implements ValueVisitor
ValueVisitors.
All visit methods are implemented to call
defaultVisit(IonValue).| Constructor and Description |
|---|
AbstractValueVisitor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
defaultVisit(IonValue value)
Default visitation behavior, called by all
visit methods
in AbstractValueVisitor. |
void |
visit(IonBlob value) |
void |
visit(IonBool value) |
void |
visit(IonClob value) |
void |
visit(IonDatagram value) |
void |
visit(IonDecimal value) |
void |
visit(IonFloat value) |
void |
visit(IonInt value) |
void |
visit(IonList value) |
void |
visit(IonNull value) |
void |
visit(IonSexp value) |
void |
visit(IonString value) |
void |
visit(IonStruct value) |
void |
visit(IonSymbol value) |
void |
visit(IonTimestamp value) |
protected void defaultVisit(IonValue value) throws Exception
visit methods
in AbstractValueVisitor. Subclasses should override this unless
they override all visit methods.
This implementation always throws UnsupportedOperationException.
value - the value to visit.UnsupportedOperationException - always thrown unless subclass
overrides this implementation.Exception - subclasses can throw this; it will be propagated by
the other visit methods.public void visit(IonBlob value) throws Exception
visit in interface ValueVisitorExceptionpublic void visit(IonBool value) throws Exception
visit in interface ValueVisitorExceptionpublic void visit(IonClob value) throws Exception
visit in interface ValueVisitorExceptionpublic void visit(IonDatagram value) throws Exception
visit in interface ValueVisitorExceptionpublic void visit(IonDecimal value) throws Exception
visit in interface ValueVisitorExceptionpublic void visit(IonFloat value) throws Exception
visit in interface ValueVisitorExceptionpublic void visit(IonInt value) throws Exception
visit in interface ValueVisitorExceptionpublic void visit(IonList value) throws Exception
visit in interface ValueVisitorExceptionpublic void visit(IonNull value) throws Exception
visit in interface ValueVisitorExceptionpublic void visit(IonSexp value) throws Exception
visit in interface ValueVisitorExceptionpublic void visit(IonString value) throws Exception
visit in interface ValueVisitorExceptionpublic void visit(IonStruct value) throws Exception
visit in interface ValueVisitorExceptionpublic void visit(IonSymbol value) throws Exception
visit in interface ValueVisitorExceptionpublic void visit(IonTimestamp value) throws Exception
visit in interface ValueVisitorException