public class SimpleObjectHandler extends BaseObjectHandler
Constructor and Description |
---|
SimpleObjectHandler() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
areMethodsAccessible(Map<?,?> map) |
Binding |
createBinding(String name,
TemplateContext tc,
Code code)
Each call site has its own binding to allow for fine grained caching without
a separate parallel hierarchy of objects.
|
Wrapper |
find(String name,
List<Object> scopes)
Find a value named "name" in the array of scopes in reverse order.
|
checkField, checkMethod, coerce, falsey, findMember, getField, getMethod, iterate, stringify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeList
public Binding createBinding(String name, TemplateContext tc, Code code)
ObjectHandler
createBinding
in interface ObjectHandler
createBinding
in class BaseObjectHandler
name
- the name that we boundtc
- the textual context of the binding sitecode
- the code that was boundpublic Wrapper find(String name, List<Object> scopes)
ObjectHandler
name
- the variable namescopes
- the ordered list of scopesprotected boolean areMethodsAccessible(Map<?,?> map)
Copyright © 2018. All rights reserved.