dCsharp

Visitor.before Method

This method is called when a traversal is about to traverse

obj
in the object graph with
cl
as the token. Note that the same object might be passed to this method multiple times, once per class in its inheritance hierarchy. The default behavior is to call {@link #invokeMethod(String, Object, Class) invokeMethod}
("before", obj, cl)
.

Overload List

This method is called when a traversal is about to traverse

obj
in the object graph with
cl
as the token. Note that the same object might be passed to this method multiple times, once per class in its inheritance hierarchy. The default behavior is to call {@link #invokeMethod(String, Object, Class) invokeMethod}
("before", obj, cl)
.

public virtual void before(object,Type);

This method is called when a traversal is about to traverse an edge in the object graph from

source
to
target
corresponding to the class graph edge
edge
from
sourceClass
to
targetClass
. The default behavior is to call {@link #invokeMethods(String, Object, Class, EdgeI, Object, Class) invokeMethods}
("before", source, sourceClass,
            edge, target, targetClass)
.

public virtual void before(object,Type,IEdge,object,Type);

See Also

Visitor Class | edu.neu.ccs.demeter.dCsharp Namespace