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

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

public class MockWalkerInterceptor
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
MockWalkerInterceptor()
           
MockWalkerInterceptor(Object pvWhenThisObjectThanCanelWalk)
           
 
Method Summary
 void endWalk()
           
 Object getWhenThisObjectThanCanelWalk()
           
 void startWalk(Object pvStartObject)
           
 boolean visitElement(Object pvKey, int pvIndex, Object pvValue, int pvType, String pvPath, int pvNumberOfRecursion)
           
 void visitIterateableElement(Object pvValue, int pvType, String pvPath, int pvBeginEnd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockWalkerInterceptor

public MockWalkerInterceptor()

MockWalkerInterceptor

public MockWalkerInterceptor(Object pvWhenThisObjectThanCanelWalk)
Method Detail

startWalk

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

endWalk

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

visitElement

public boolean visitElement(Object pvKey,
                            int pvIndex,
                            Object pvValue,
                            int pvType,
                            String pvPath,
                            int pvNumberOfRecursion)
Specified by:
visitElement in interface net.sf.sojo.common.WalkerInterceptor

visitIterateableElement

public void visitIterateableElement(Object pvValue,
                                    int pvType,
                                    String pvPath,
                                    int pvBeginEnd)
Specified by:
visitIterateableElement in interface net.sf.sojo.common.WalkerInterceptor

getWhenThisObjectThanCanelWalk

public Object getWhenThisObjectThanCanelWalk()


Copyright © 2010. All Rights Reserved.