|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
'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 |
public void init()
throws Exception
Exception - on any error.
public Iterator getIterator(Object obj,
Info info)
throws Exception
info - template info.obj - to get the iterator for.Exception - on any error.
public VelMethod getMethod(Object obj,
String method,
Object[] args,
Info info)
throws Exception
obj - the objectmethod - the method nameargs - method argumentsinfo - template infoVelMethod.Exception - on any error.
public VelPropertyGet getPropertyGet(Object obj,
String identifier,
Info info)
throws Exception
obj - the object to get the property from.identifier - property nameinfo - template infoVelPropertyGet.Exception - on any error.
public VelPropertySet getPropertySet(Object obj,
String identifier,
Object arg,
Info info)
throws Exception
obj - the object to get the property from.identifier - property namearg - value to set.info - template infoVelPropertySet.Exception - on any error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||