Package com.yahoo.vespa.objects
Class ObjectVisitor
- java.lang.Object
-
- com.yahoo.vespa.objects.ObjectVisitor
-
- Direct Known Subclasses:
ObjectDumper
public abstract class ObjectVisitor extends Object
This is an abstract class used to visit structured objects. It contains a basic interface that is intended to be overridden by subclasses. As an extension to this class, the visit.hpp file contains various versions of the visit method that maps visitation of various types into invocations of the basic interface defined by this class.- Author:
- Simon Thoresen Hult
-
-
Constructor Summary
Constructors Constructor Description ObjectVisitor()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
closeStruct()
Close a (sub-)structureabstract void
openStruct(String name, String type)
Open a (sub-)structureabstract void
visit(String name, Object obj)
Visits some object.
-