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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
visitArray(Inspector arr)
void
visitBool(boolean bit)
void
visitData(byte[] data)
void
visitDouble(double d)
void
visitInvalid()
Called when the visited Inspector is not valid.void
visitLong(long l)
void
visitNix()
void
visitObject(Inspector obj)
void
visitString(byte[] utf8)
void
visitString(java.lang.String str)
-
-
-
Method Detail
-
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
void visitString(java.lang.String str)
-
visitString
void visitString(byte[] utf8)
-
visitData
void visitData(byte[] data)
-
visitArray
void visitArray(Inspector arr)
-
visitObject
void visitObject(Inspector obj)
-
-