Class UberspectDebugDecorator

  • All Implemented Interfaces:
    org.apache.velocity.util.introspection.Uberspect, org.apache.velocity.util.introspection.UberspectLoggable, org.apache.velocity.util.RuntimeServicesAware

    public class UberspectDebugDecorator
    extends Object
    implements org.apache.velocity.util.introspection.Uberspect, org.apache.velocity.util.introspection.UberspectLoggable, org.apache.velocity.util.RuntimeServicesAware
    • Field Detail

      • VELOCITY_LOG

        @Deprecated
        public static final org.apache.log4j.Logger VELOCITY_LOG
        Deprecated.
        since 5.10. Use a private slfj Logger instead.
    • Constructor Detail

      • UberspectDebugDecorator

        public UberspectDebugDecorator()
    • Method Detail

      • init

        public void init()
                  throws Exception
        Specified by:
        init in interface org.apache.velocity.util.introspection.Uberspect
        Throws:
        Exception
      • getIterator

        public Iterator getIterator​(Object obj,
                                    org.apache.velocity.util.introspection.Info info)
                             throws Exception
        Specified by:
        getIterator in interface org.apache.velocity.util.introspection.Uberspect
        Throws:
        Exception
      • getMethod

        public org.apache.velocity.util.introspection.VelMethod getMethod​(Object obj,
                                                                          String method,
                                                                          Object[] args,
                                                                          org.apache.velocity.util.introspection.Info info)
                                                                   throws Exception
        Specified by:
        getMethod in interface org.apache.velocity.util.introspection.Uberspect
        Throws:
        Exception
      • getPropertyGet

        public org.apache.velocity.util.introspection.VelPropertyGet getPropertyGet​(Object obj,
                                                                                    String identifier,
                                                                                    org.apache.velocity.util.introspection.Info info)
                                                                             throws Exception
        Specified by:
        getPropertyGet in interface org.apache.velocity.util.introspection.Uberspect
        Throws:
        Exception
      • getPropertySet

        public org.apache.velocity.util.introspection.VelPropertySet getPropertySet​(Object obj,
                                                                                    String identifier,
                                                                                    Object arg,
                                                                                    org.apache.velocity.util.introspection.Info info)
                                                                             throws Exception
        Specified by:
        getPropertySet in interface org.apache.velocity.util.introspection.Uberspect
        Throws:
        Exception
      • setLog

        public void setLog​(org.apache.velocity.runtime.log.Log log)
        Specified by:
        setLog in interface org.apache.velocity.util.introspection.UberspectLoggable
      • setRuntimeLogger

        public void setRuntimeLogger​(org.apache.velocity.runtime.RuntimeLogger logger)
        Specified by:
        setRuntimeLogger in interface org.apache.velocity.util.introspection.UberspectLoggable
      • setRuntimeServices

        public void setRuntimeServices​(org.apache.velocity.runtime.RuntimeServices runtimeServices)
        Specified by:
        setRuntimeServices in interface org.apache.velocity.util.RuntimeServicesAware