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

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

public class WebappUberspector.GetAttributeExecutor
extends org.apache.velocity.runtime.parser.node.AbstractExecutor

Executor for getAttribute(name) method.


Field Summary
private  org.apache.velocity.util.introspection.Introspector introspector
           
private  java.lang.Object[] params
           
 
Fields inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
log
 
Constructor Summary
WebappUberspector.GetAttributeExecutor(org.apache.velocity.runtime.log.Log log, org.apache.velocity.util.introspection.Introspector introspector, java.lang.Class clazz, java.lang.String property)
           
 
Method Summary
protected  void discover(java.lang.Class clazz)
           
 java.lang.Object execute(java.lang.Object o)
           
 
Methods inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor
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

params

private java.lang.Object[] params
Constructor Detail

WebappUberspector.GetAttributeExecutor

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

discover

protected void discover(java.lang.Class clazz)

execute

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


Copyright (c) 2003-2007 Apache Software Foundation