org.springframework.web.servlet.view.json.mock.writer.sojo
Class SimpleVisitedInterseptor

java.lang.Object
  extended by org.springframework.web.servlet.view.json.mock.writer.sojo.SimpleVisitedInterseptor
All Implemented Interfaces:
net.sf.sojo.common.WalkerInterceptor, net.sf.sojo.core.Constants

public class SimpleVisitedInterseptor
extends Object
implements net.sf.sojo.common.WalkerInterceptor


Field Summary
 
Fields inherited from interface net.sf.sojo.core.Constants
INVALID_INDEX, ITERATOR_BEGIN, ITERATOR_END, TYPE_ITERATEABLE, TYPE_MAP, TYPE_NULL, TYPE_SIMPLE
 
Constructor Summary
SimpleVisitedInterseptor()
           
 
Method Summary
 void endWalk()
           
 boolean isVisited()
           
 void setVisited(boolean visited)
           
 void startWalk(Object arg0)
           
 boolean visitElement(Object arg0, int arg1, Object arg2, int arg3, String arg4, int arg5)
           
 void visitIterateableElement(Object arg0, int arg1, String arg2, int arg3)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleVisitedInterseptor

public SimpleVisitedInterseptor()
Method Detail

endWalk

public void endWalk()
Specified by:
endWalk in interface net.sf.sojo.common.WalkerInterceptor

startWalk

public void startWalk(Object arg0)
Specified by:
startWalk in interface net.sf.sojo.common.WalkerInterceptor

visitElement

public boolean visitElement(Object arg0,
                            int arg1,
                            Object arg2,
                            int arg3,
                            String arg4,
                            int arg5)
Specified by:
visitElement in interface net.sf.sojo.common.WalkerInterceptor

visitIterateableElement

public void visitIterateableElement(Object arg0,
                                    int arg1,
                                    String arg2,
                                    int arg3)
Specified by:
visitIterateableElement in interface net.sf.sojo.common.WalkerInterceptor

isVisited

public boolean isVisited()

setVisited

public void setVisited(boolean visited)


Copyright © 2010. All Rights Reserved.