org.apache.velocity.tools.view
Class WebappUberspector.SetAttributeExecutor

java.lang.Object
  extended by org.apache.velocity.runtime.parser.node.SetExecutor
      extended by org.apache.velocity.tools.view.WebappUberspector.SetAttributeExecutor
Enclosing class:
WebappUberspector

public class WebappUberspector.SetAttributeExecutor
extends org.apache.velocity.runtime.parser.node.SetExecutor

Executor for setAttribute(name,value) method


Field Summary
private  org.apache.velocity.util.introspection.Introspector introspector
           
private  java.lang.String property
           
 
Fields inherited from class org.apache.velocity.runtime.parser.node.SetExecutor
log
 
Constructor Summary
WebappUberspector.SetAttributeExecutor(org.apache.velocity.runtime.log.Log log, org.apache.velocity.util.introspection.Introspector introspector, java.lang.Class clazz, java.lang.Object arg, java.lang.String property)
           
 
Method Summary
protected  void discover(java.lang.Class clazz, java.lang.Object arg)
           
 java.lang.Object execute(java.lang.Object o, java.lang.Object value)
           
 
Methods inherited from class org.apache.velocity.runtime.parser.node.SetExecutor
getMethod, isAlive, setMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

introspector

private final org.apache.velocity.util.introspection.Introspector introspector

property

private final java.lang.String property
Constructor Detail

WebappUberspector.SetAttributeExecutor

public WebappUberspector.SetAttributeExecutor(org.apache.velocity.runtime.log.Log log,
                                              org.apache.velocity.util.introspection.Introspector introspector,
                                              java.lang.Class clazz,
                                              java.lang.Object arg,
                                              java.lang.String property)
Parameters:
log -
introspector -
clazz -
arg -
property -
Method Detail

discover

protected void discover(java.lang.Class clazz,
                        java.lang.Object arg)
Parameters:
clazz -
arg -

execute

public java.lang.Object execute(java.lang.Object o,
                                java.lang.Object value)
                         throws java.lang.IllegalAccessException,
                                java.lang.reflect.InvocationTargetException
Specified by:
execute in class org.apache.velocity.runtime.parser.node.SetExecutor
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
See Also:
SetExecutor.execute(java.lang.Object, java.lang.Object)


Copyright (c) 2003-2007 Apache Software Foundation