org.skyscreamer.yoga.mapper
Class ResultTraverser
java.lang.Object
org.skyscreamer.yoga.mapper.ResultTraverser
public class ResultTraverser
- extends Object
ResultTraverser
- Author:
- solomon.duskis
|
Method Summary |
protected
|
addInstanceFields(T instance,
Class<T> instanceType,
MapHierarchicalModel<?> model,
Selector selector,
YogaRequestContext requestContext)
|
ClassFinderStrategy |
getClassFinderStrategy()
|
void |
setClassFinderStrategy(ClassFinderStrategy classFinderStrategy)
|
void |
traverse(Object instance,
Selector selector,
HierarchicalModel<?> model,
YogaRequestContext context)
|
void |
traverseIterable(Iterable<?> iterable,
Selector selector,
ListHierarchicalModel<?> model,
YogaRequestContext context)
|
|
traversePojo(T instance,
Selector selector,
MapHierarchicalModel<?> model,
YogaRequestContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_classFinderStrategy
protected ClassFinderStrategy _classFinderStrategy
ResultTraverser
public ResultTraverser()
traverse
public void traverse(Object instance,
Selector selector,
HierarchicalModel<?> model,
YogaRequestContext context)
throws IOException
- Throws:
IOException
traverseIterable
public void traverseIterable(Iterable<?> iterable,
Selector selector,
ListHierarchicalModel<?> model,
YogaRequestContext context)
throws IOException
- Throws:
IOException
traversePojo
public <T> void traversePojo(T instance,
Selector selector,
MapHierarchicalModel<?> model,
YogaRequestContext context)
throws IOException
- Throws:
IOException
addInstanceFields
protected <T> void addInstanceFields(T instance,
Class<T> instanceType,
MapHierarchicalModel<?> model,
Selector selector,
YogaRequestContext requestContext)
throws IOException
- Throws:
IOException
setClassFinderStrategy
public void setClassFinderStrategy(ClassFinderStrategy classFinderStrategy)
getClassFinderStrategy
public ClassFinderStrategy getClassFinderStrategy()
Copyright © 2013. All Rights Reserved.