|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Uberspect
'Federated' introspection/reflection interface to allow the introspection behavior in Velocity to be customized.
| Method Summary | |
|---|---|
Iterator |
getIterator(Object obj,
Info info)
To support iteratives - #foreach() |
VelMethod |
getMethod(Object obj,
String method,
Object[] args,
Info info)
Returns a general method, corresponding to $foo.bar( $woogie ) |
VelPropertyGet |
getPropertyGet(Object obj,
String identifier,
Info info)
Property getter - returns VelPropertyGet appropos for #set($foo = $bar.woogie) |
VelPropertySet |
getPropertySet(Object obj,
String identifier,
Object arg,
Info info)
Property setter - returns VelPropertySet appropos for #set($foo.bar = "geir") |
void |
init()
Initializer - will be called before use |
| Method Detail |
|---|
void init()
throws Exception
Exception
Iterator getIterator(Object obj,
Info info)
throws Exception
obj - info -
Exception
VelMethod getMethod(Object obj,
String method,
Object[] args,
Info info)
throws Exception
obj - method - args - info -
Exception
VelPropertyGet getPropertyGet(Object obj,
String identifier,
Info info)
throws Exception
obj - identifier - info -
Exception
VelPropertySet getPropertySet(Object obj,
String identifier,
Object arg,
Info info)
throws Exception
obj - identifier - arg - info -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||