public class SimpleObjectHandler extends BaseObjectHandler
NOT_FOUND
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.
|
Object |
get(String name,
Object scope) |
checkClass, checkField, checkMethod, findMember, getField, getMethod
coerce, falsey, iterate, stringify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeList
public Binding createBinding(String name, TemplateContext tc, Code code)
ObjectHandler
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 © 2023. All rights reserved.