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 TypeMethodDescriptionvoid
visitArray
(Inspector arr) void
visitBool
(boolean bit) void
visitData
(byte[] data) void
visitDouble
(double d) void
Called when the visited Inspector is not valid.void
visitLong
(long l) void
visitNix()
void
visitObject
(Inspector obj) void
visitString
(byte[] utf8) void
visitString
(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
-