Interface Uberspect
- All Known Subinterfaces:
ChainableUberspector
- All Known Implementing Classes:
AbstractChainableUberspector
,DeprecatedCheckUberspector
,LinkingUberspector
,SecureUberspector
,UberspectImpl
,UberspectPublicFields
public interface Uberspect
'Federated' introspection/reflection interface to allow the introspection
behavior in Velocity to be customized.
- Version:
- $Id$
- Author:
- Geir Magusson Jr.
-
Method Summary
Modifier and TypeMethodDescriptiongetIterator
(Object obj, Info info) To support iteratives - #foreach()Returns a general method, corresponding to $foo.bar( $woogie )getPropertyGet
(Object obj, String identifier, Info info) Property getter - returns VelPropertyGet appropos for #set($foo = $bar.woogie)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 Details
-
init
void init()Initializer - will be called before use -
getIterator
To support iteratives - #foreach()- Parameters:
obj
-info
-- Returns:
- An Iterator.
-
getMethod
Returns a general method, corresponding to $foo.bar( $woogie )- Parameters:
obj
-method
-args
-info
-- Returns:
- A Velocity Method.
-
getPropertyGet
Property getter - returns VelPropertyGet appropos for #set($foo = $bar.woogie)- Parameters:
obj
-identifier
-info
-- Returns:
- A Velocity Getter.
-
getPropertySet
Property setter - returns VelPropertySet appropos for #set($foo.bar = "geir")- Parameters:
obj
-identifier
-arg
-info
-- Returns:
- A Velocity Setter.
-