Class PropertyExecutor
java.lang.Object
org.apache.velocity.runtime.parser.node.AbstractExecutor
org.apache.velocity.runtime.parser.node.PropertyExecutor
- Direct Known Subclasses:
BooleanPropertyExecutor
Returned the value of object property when executed.
-
Field Summary
FieldsFields inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
log
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyExecutor
(Log log, Introspector introspector, Class clazz, String property) PropertyExecutor
(RuntimeLogger r, Introspector introspector, Class clazz, String property) Deprecated.RuntimeLogger is deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Execute method against context.protected Introspector
Methods inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
getMethod, isAlive, setMethod
-
Field Details
-
introspector
-
-
Constructor Details
-
PropertyExecutor
- Parameters:
log
-introspector
-clazz
-property
-- Since:
- 1.5
-
PropertyExecutor
Deprecated.RuntimeLogger is deprecated. Use the other constructor.- Parameters:
r
-introspector
-clazz
-property
-
-
-
Method Details
-
getIntrospector
- Returns:
- The current introspector.
- Since:
- 1.5
-
discover
- Parameters:
clazz
-property
-
-
execute
Description copied from class:AbstractExecutor
Execute method against context.- Specified by:
execute
in classAbstractExecutor
- Returns:
- The resulting object.
- Throws:
IllegalAccessException
InvocationTargetException
- See Also:
-