|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.velocity.util.introspection.UberspectImpl
public class UberspectImpl
Implementation of Uberspect to provide the default introspective functionality of Velocity
| Nested Class Summary | |
|---|---|
class |
UberspectImpl.VelGetterImpl
|
class |
UberspectImpl.VelMethodImpl
Implementation of VelMethod |
class |
UberspectImpl.VelSetterImpl
|
| Constructor Summary | |
|---|---|
UberspectImpl()
|
|
| Method Summary | |
|---|---|
Iterator |
getIterator(Object obj,
Info i)
To support iterative objects used in a #foreach()
loop. |
VelMethod |
getMethod(Object obj,
String methodName,
Object[] args,
Info i)
Method |
VelPropertyGet |
getPropertyGet(Object obj,
String identifier,
Info i)
Property getter |
VelPropertySet |
getPropertySet(Object obj,
String identifier,
Object arg,
Info i)
Property setter |
void |
init()
init - setup a new introspector |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UberspectImpl()
| Method Detail |
|---|
public void init()
throws Exception
init in interface UberspectException
public Iterator getIterator(Object obj,
Info i)
throws Exception
#foreach()
loop.
getIterator in interface Uberspectobj - The iterative object.i - Info about the object's location.
Exception
public VelMethod getMethod(Object obj,
String methodName,
Object[] args,
Info i)
throws Exception
getMethod in interface UberspectException
public VelPropertyGet getPropertyGet(Object obj,
String identifier,
Info i)
throws Exception
getPropertyGet in interface UberspectException
public VelPropertySet getPropertySet(Object obj,
String identifier,
Object arg,
Info i)
throws Exception
getPropertySet in interface UberspectException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||