public abstract class AbstractChainableUberspector extends org.apache.velocity.util.introspection.UberspectImpl implements ChainableUberspector
chainable uberspector that forwards all calls to the wrapped
uberspector (when that is possible). It should be used as the base class for all chainable uberspectors.ChainableUberspectororg.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl, org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl, org.apache.velocity.util.introspection.UberspectImpl.VelSetterImpl| Modifier and Type | Field and Description |
|---|---|
protected org.apache.velocity.util.introspection.Uberspect |
inner
The wrapped (decorated) uberspector.
|
| Constructor and Description |
|---|
AbstractChainableUberspector() |
| Modifier and Type | Method and Description |
|---|---|
Iterator |
getIterator(Object obj,
org.apache.velocity.util.introspection.Info i) |
org.apache.velocity.util.introspection.VelMethod |
getMethod(Object obj,
String methodName,
Object[] args,
org.apache.velocity.util.introspection.Info i) |
org.apache.velocity.util.introspection.VelPropertyGet |
getPropertyGet(Object obj,
String identifier,
org.apache.velocity.util.introspection.Info i) |
org.apache.velocity.util.introspection.VelPropertySet |
getPropertySet(Object obj,
String identifier,
Object arg,
org.apache.velocity.util.introspection.Info i) |
void |
init() |
void |
wrap(org.apache.velocity.util.introspection.Uberspect inner)
Since uberspectors are dynamically enabled using a configuration string, we cannot simply call the constructors
to pass the inner uberspector.
|
protected org.apache.velocity.util.introspection.Uberspect inner
public void wrap(org.apache.velocity.util.introspection.Uberspect inner)
ChainableUberspectorwrap in interface ChainableUberspectorinner - The decorated uberspector.public void init()
init in interface org.apache.velocity.util.introspection.Uberspectinit in class org.apache.velocity.util.introspection.UberspectImplpublic Iterator getIterator(Object obj, org.apache.velocity.util.introspection.Info i) throws Exception
getIterator in interface org.apache.velocity.util.introspection.UberspectgetIterator in class org.apache.velocity.util.introspection.UberspectImplExceptionpublic org.apache.velocity.util.introspection.VelMethod getMethod(Object obj, String methodName, Object[] args, org.apache.velocity.util.introspection.Info i) throws Exception
getMethod in interface org.apache.velocity.util.introspection.UberspectgetMethod in class org.apache.velocity.util.introspection.UberspectImplExceptionpublic org.apache.velocity.util.introspection.VelPropertyGet getPropertyGet(Object obj, String identifier, org.apache.velocity.util.introspection.Info i) throws Exception
getPropertyGet in interface org.apache.velocity.util.introspection.UberspectgetPropertyGet in class org.apache.velocity.util.introspection.UberspectImplExceptionpublic org.apache.velocity.util.introspection.VelPropertySet getPropertySet(Object obj, String identifier, Object arg, org.apache.velocity.util.introspection.Info i) throws Exception
getPropertySet in interface org.apache.velocity.util.introspection.UberspectgetPropertySet in class org.apache.velocity.util.introspection.UberspectImplExceptionCopyright © 2004–2017 XWiki. All rights reserved.