public abstract class AbstractChainableUberspector extends 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.ChainableUberspectorUberspectImpl.VelGetterImpl, UberspectImpl.VelMethodImpl, UberspectImpl.VelSetterImpl| 限定符和类型 | 字段和说明 |
|---|---|
protected Uberspect |
inner
The wrapped (decorated) uberspector.
|
introspector, log| 构造器和说明 |
|---|
AbstractChainableUberspector() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.Iterator |
getIterator(java.lang.Object obj,
Info i)
To support iterative objects used in a
#foreach()
loop. |
VelMethod |
getMethod(java.lang.Object obj,
java.lang.String methodName,
java.lang.Object[] args,
Info i)
Method
|
VelPropertyGet |
getPropertyGet(java.lang.Object obj,
java.lang.String identifier,
Info i)
Property getter
|
VelPropertySet |
getPropertySet(java.lang.Object obj,
java.lang.String identifier,
java.lang.Object arg,
Info i)
Property setter
|
void |
init()
init - the chainable uberspector is responsible for the initialization of the wrapped uberspector
|
void |
wrap(Uberspect inner)
Specify the decorated Uberspector
|
setLog, setRuntimeLoggerprotected Uberspect inner
public void wrap(Uberspect inner)
wrap 在接口中 ChainableUberspectorinner - The decorated uberspector.ChainableUberspector.wrap(bboss.org.apache.velocity.util.introspection.Uberspect),
innerpublic void init()
init 在接口中 Uberspectinit 在类中 UberspectImplUberspect.init()public java.util.Iterator getIterator(java.lang.Object obj,
Info i)
throws java.lang.Exception
#foreach()
loop.getIterator 在接口中 UberspectgetIterator 在类中 UberspectImplobj - The iterative object.i - Info about the object's location.Iterator object.java.lang.ExceptionUberspect.getIterator(java.lang.Object,
bboss.org.apache.velocity.util.introspection.Info)public VelMethod getMethod(java.lang.Object obj, java.lang.String methodName, java.lang.Object[] args, Info i) throws java.lang.Exception
getMethod 在接口中 UberspectgetMethod 在类中 UberspectImpljava.lang.ExceptionUberspect.getMethod(java.lang.Object, java.lang.String,
java.lang.Object[], bboss.org.apache.velocity.util.introspection.Info)public VelPropertyGet getPropertyGet(java.lang.Object obj, java.lang.String identifier, Info i) throws java.lang.Exception
getPropertyGet 在接口中 UberspectgetPropertyGet 在类中 UberspectImpljava.lang.ExceptionUberspect.getPropertyGet(java.lang.Object, java.lang.String,
bboss.org.apache.velocity.util.introspection.Info)public VelPropertySet getPropertySet(java.lang.Object obj, java.lang.String identifier, java.lang.Object arg, Info i) throws java.lang.Exception
getPropertySet 在接口中 UberspectgetPropertySet 在类中 UberspectImpljava.lang.ExceptionUberspect.getPropertySet(java.lang.Object, java.lang.String,
java.lang.Object, bboss.org.apache.velocity.util.introspection.Info)