public class JavascriptObjectHandler extends ReflectionObjectHandler
MAP_METHOD
Constructor and Description |
---|
JavascriptObjectHandler() |
Modifier and Type | Method and Description |
---|---|
Object |
coerce(Object object)
Coerce results to Java native iterables, functions, callables.
|
String |
stringify(Object object)
Turns an object into the string representation that should be displayed
in templates.
|
areMethodsAccessible, createBinding, createClassGuard, createDepthGuard, createDotGuard, createMapGuard, createMissingWrapper, createNullGuard, createWrappedGuard, createWrapper, find, findWrapper, unwrap
checkField, checkMethod, falsey, findMember, getField, getMethod, iterate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeList, makeList
public String stringify(Object object)
ObjectHandler
stringify
in interface ObjectHandler
stringify
in class BaseObjectHandler
object
- the object to be displayedpublic Object coerce(Object object)
ObjectHandler
coerce
in interface ObjectHandler
coerce
in class BaseObjectHandler
object
- transform an unknown type to a known typeCopyright © 2016. All rights reserved.