Class TestableUberspect

java.lang.Object
com.spun.util.velocity.TestableUberspect
All Implemented Interfaces:
org.apache.velocity.util.introspection.Uberspect

public class TestableUberspect extends Object implements org.apache.velocity.util.introspection.Uberspect
Implementation of Uberspect to provide the default introspective functionality of Velocity
Version:
$Id: UberspectImpl.java,v 1.2.4.1 2004/03/03 23:23:08 geirm Exp $
Author:
Geir Magnusson Jr.
  • Constructor Details

    • TestableUberspect

      public TestableUberspect()
  • Method Details

    • init

      public void init()
      init - does nothing - we need to have setRuntimeLogger called before getting our introspector, as the default vel introspector depends upon it.;
      Specified by:
      init in interface org.apache.velocity.util.introspection.Uberspect
    • setBeKindToNulls

      public void setBeKindToNulls(boolean behavior)
    • getIterator

      public Iterator<?> getIterator(Object obj, org.apache.velocity.util.introspection.Info i)
      Specified by:
      getIterator in interface org.apache.velocity.util.introspection.Uberspect
    • getStandardIterator

      public static Iterator<?> getStandardIterator(Object obj, org.apache.velocity.util.introspection.Info i)
    • getMethod

      public org.apache.velocity.util.introspection.VelMethod getMethod(Object obj, String methodName, Object[] args, org.apache.velocity.util.introspection.Info i)
      Specified by:
      getMethod in interface org.apache.velocity.util.introspection.Uberspect
    • getMethodText

      public static String getMethodText(String className, String methodName, Object[] args)
    • getPropertyGet

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

      public org.apache.velocity.util.introspection.VelPropertySet getPropertySet(Object obj, String identifier, Object arg, org.apache.velocity.util.introspection.Info i)
      Specified by:
      getPropertySet in interface org.apache.velocity.util.introspection.Uberspect