Class WebappUberspector.GetAttributeExecutor

  • Enclosing class:
    WebappUberspector

    public class WebappUberspector.GetAttributeExecutor
    extends org.apache.velocity.runtime.parser.node.AbstractExecutor
    Executor for getAttribute(name) method.
    • Field Summary

      • Fields inherited from class org.apache.velocity.runtime.parser.node.AbstractExecutor

        log
    • Constructor Summary

      Constructors 
      Constructor Description
      GetAttributeExecutor​(org.slf4j.Logger log, org.apache.velocity.util.introspection.Introspector introspector, java.lang.Class clazz, java.lang.String property)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • GetAttributeExecutor

        public GetAttributeExecutor​(org.slf4j.Logger log,
                                    org.apache.velocity.util.introspection.Introspector introspector,
                                    java.lang.Class clazz,
                                    java.lang.String property)
        Parameters:
        log - logger
        introspector - introspector instance
        clazz - class name
        property - property name
    • 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
        Parameters:
        o - target object
        Returns:
        execution result
        Throws:
        java.lang.IllegalAccessException - if thrown by underlying code
        java.lang.reflect.InvocationTargetException - if thrown by underlying code
        See Also:
        AbstractExecutor.execute(java.lang.Object)