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
Fields inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
log -
Constructor Summary
ConstructorsConstructorDescriptionPropertyExecutor(org.slf4j.Logger log, Introspector introspector, Class<?> clazz, String property) PropertyExecutor(org.slf4j.Logger log, Introspector introspector, Class<?> clazz, String property, boolean wrapArray) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidExecute method against context.protected IntrospectorMethods inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
getMethod, isAlive, setMethod
-
Constructor Details
-
PropertyExecutor
public PropertyExecutor(org.slf4j.Logger log, Introspector introspector, Class<?> clazz, String property) - Parameters:
log-introspector-clazz-property-- Since:
- 1.5
-
PropertyExecutor
public PropertyExecutor(org.slf4j.Logger log, Introspector introspector, Class<?> clazz, String property, boolean wrapArray) - Parameters:
log-introspector-clazz-property-wrapArray-- Since:
- 1.5
-
-
Method Details
-
getIntrospector
- Returns:
- The current introspector.
- Since:
- 1.5
-
discover
- Parameters:
clazz-property-
-
execute
Description copied from class:AbstractExecutorExecute method against context.- Specified by:
executein classAbstractExecutor- Parameters:
o-- Returns:
- The resulting object.
- Throws:
IllegalAccessExceptionInvocationTargetException- See Also:
-