public class WebappUberspector.SetAttributeExecutor
extends org.apache.velocity.runtime.parser.node.SetExecutor
Constructor and Description |
---|
SetAttributeExecutor(org.slf4j.Logger log,
org.apache.velocity.util.introspection.Introspector introspector,
Class clazz,
Object arg,
String property) |
Modifier and Type | Method and Description |
---|---|
protected void |
discover(Class clazz,
Object arg) |
Object |
execute(Object o,
Object value) |
public SetAttributeExecutor(org.slf4j.Logger log, org.apache.velocity.util.introspection.Introspector introspector, Class clazz, Object arg, String property)
log
- loggerintrospector
- introspector instanceclazz
- target classarg
- value to setproperty
- property nameprotected void discover(Class clazz, Object arg)
clazz
- target classarg
- expected argumentspublic Object execute(Object o, Object value) throws IllegalAccessException, InvocationTargetException
execute
in class org.apache.velocity.runtime.parser.node.SetExecutor
o
- target objectvalue
- value to setIllegalAccessException
- if thrown by underlying codeInvocationTargetException
- if thrown by underlying codeSetExecutor.execute(java.lang.Object, java.lang.Object)
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.