|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectWrapper
An object that knows how to "wrap" a java object as a TemplateModel instance.
| Field Summary | |
|---|---|
static ObjectWrapper |
BEANS_WRAPPER
An ObjectWrapper that works similarly to SIMPLE_WRAPPER, but
exposes the objects methods and JavaBeans properties as hash elements
and custom handling for Java Maps, ResourceBundles, etc. |
static ObjectWrapper |
DEFAULT_WRAPPER
The default object wrapper implementation. |
static ObjectWrapper |
SIMPLE_WRAPPER
Object wrapper that uses SimpleXXX wrappers only. |
| Method Summary | |
|---|---|
TemplateModel |
wrap(java.lang.Object obj)
|
| Field Detail |
|---|
static final ObjectWrapper BEANS_WRAPPER
SIMPLE_WRAPPER, but
exposes the objects methods and JavaBeans properties as hash elements
and custom handling for Java Maps, ResourceBundles, etc.
static final ObjectWrapper DEFAULT_WRAPPER
static final ObjectWrapper SIMPLE_WRAPPER
| Method Detail |
|---|
TemplateModel wrap(java.lang.Object obj)
throws TemplateModelException
TemplateModelException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||