org.skyscreamer.yoga.view
Class JsonSelectorView
java.lang.Object
org.skyscreamer.yoga.view.AbstractYogaView
org.skyscreamer.yoga.view.JsonSelectorView
public class JsonSelectorView
- extends AbstractYogaView
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonSelectorView
public JsonSelectorView()
render
public void render(Selector selector,
Object value,
YogaRequestContext requestContext,
OutputStream outputStream)
throws IOException
- Specified by:
render in class AbstractYogaView
- Throws:
IOException
getModel
protected HierarchicalModel<?> getModel(Object value)
getObjectMapper
protected org.codehaus.jackson.map.ObjectMapper getObjectMapper()
getContentType
public String getContentType()
- Specified by:
getContentType in class AbstractYogaView
getHrefSuffix
public String getHrefSuffix()
- Specified by:
getHrefSuffix in class AbstractYogaView
Copyright © 2012. All Rights Reserved.