Package org.apache.velocity.tools.view
Class WebappUberspector.SetAttributeExecutor
- java.lang.Object
-
- org.apache.velocity.runtime.parser.node.SetExecutor
-
- org.apache.velocity.tools.view.WebappUberspector.SetAttributeExecutor
-
- Enclosing class:
- WebappUberspector
public class WebappUberspector.SetAttributeExecutor extends org.apache.velocity.runtime.parser.node.SetExecutorExecutor for setAttribute(name,value) method
-
-
Constructor Summary
Constructors Constructor Description SetAttributeExecutor(org.slf4j.Logger log, org.apache.velocity.util.introspection.Introspector introspector, java.lang.Class clazz, java.lang.Object arg, java.lang.String property)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddiscover(java.lang.Class clazz, java.lang.Object arg)java.lang.Objectexecute(java.lang.Object o, java.lang.Object value)
-
-
-
Constructor Detail
-
SetAttributeExecutor
public SetAttributeExecutor(org.slf4j.Logger log, org.apache.velocity.util.introspection.Introspector introspector, java.lang.Class clazz, java.lang.Object arg, java.lang.String property)- Parameters:
log- loggerintrospector- introspector instanceclazz- target classarg- value to setproperty- property name
-
-
Method Detail
-
discover
protected void discover(java.lang.Class clazz, java.lang.Object arg)- Parameters:
clazz- target classarg- expected arguments
-
execute
public java.lang.Object execute(java.lang.Object o, java.lang.Object value) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException- Specified by:
executein classorg.apache.velocity.runtime.parser.node.SetExecutor- Parameters:
o- target objectvalue- value to set- Throws:
java.lang.IllegalAccessException- if thrown by underlying codejava.lang.reflect.InvocationTargetException- if thrown by underlying code- See Also:
SetExecutor.execute(java.lang.Object, java.lang.Object)
-
-