Package com.yahoo.slime
Interface Visitor
public interface Visitor
Visitor interface used to resolve the underlying type of a value
represented by an Inspector.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvisitArray(Inspector arr) voidvisitBool(boolean bit) voidvisitData(byte[] data) voidvisitDouble(double d) voidCalled when the visited Inspector is not valid.voidvisitLong(long l) voidvisitNix()voidvisitObject(Inspector obj) voidvisitString(byte[] utf8) voidvisitString(String str)
-
Method Details
-
visitInvalid
void visitInvalid()Called when the visited Inspector is not valid. -
visitNix
void visitNix() -
visitBool
void visitBool(boolean bit) -
visitLong
void visitLong(long l) -
visitDouble
void visitDouble(double d) -
visitString
-
visitString
void visitString(byte[] utf8) -
visitData
void visitData(byte[] data) -
visitArray
-
visitObject
-