velosurf.util
Class VelosurfUberspector

java.lang.Object
  extended by org.apache.velocity.util.introspection.UberspectImpl
      extended by org.apache.velocity.util.introspection.AbstractChainableUberspector
          extended by velosurf.util.VelosurfUberspector
All Implemented Interfaces:
org.apache.velocity.util.introspection.ChainableUberspector, org.apache.velocity.util.introspection.Uberspect, org.apache.velocity.util.introspection.UberspectLoggable

public class VelosurfUberspector
extends org.apache.velocity.util.introspection.AbstractChainableUberspector

This uberspector allows getting a property while specifying extra external parameters to the property. It resolves calls that look like a method call, with one Map argument, but where the method name is in fact a property of the underlying object, which must implement the HasParapetrizedGetter interface.

See Also:
Uberspect.getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info)

Nested Class Summary
static class VelosurfUberspector.VelParametrizedGetterMethod
           
 
Nested classes/interfaces inherited from class org.apache.velocity.util.introspection.UberspectImpl
org.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl, org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl, org.apache.velocity.util.introspection.UberspectImpl.VelSetterImpl
 
Field Summary
 
Fields inherited from class org.apache.velocity.util.introspection.AbstractChainableUberspector
inner
 
Fields inherited from class org.apache.velocity.util.introspection.UberspectImpl
introspector, log
 
Constructor Summary
VelosurfUberspector()
           
 
Method Summary
 org.apache.velocity.util.introspection.VelMethod getMethod(java.lang.Object obj, java.lang.String methodName, java.lang.Object[] args, org.apache.velocity.util.introspection.Info i)
           
 
Methods inherited from class org.apache.velocity.util.introspection.AbstractChainableUberspector
getIterator, getPropertyGet, getPropertySet, init, wrap
 
Methods inherited from class org.apache.velocity.util.introspection.UberspectImpl
setLog, setRuntimeLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelosurfUberspector

public VelosurfUberspector()
Method Detail

getMethod

public org.apache.velocity.util.introspection.VelMethod getMethod(java.lang.Object obj,
                                                                  java.lang.String methodName,
                                                                  java.lang.Object[] args,
                                                                  org.apache.velocity.util.introspection.Info i)
                                                           throws java.lang.Exception
Specified by:
getMethod in interface org.apache.velocity.util.introspection.Uberspect
Overrides:
getMethod in class org.apache.velocity.util.introspection.AbstractChainableUberspector
Throws:
java.lang.Exception


~ooOoo~