| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.velocity.util.introspection.ClassMap
public class ClassMap
A cache of introspection information for a specific class instance.
 Keys Method objects by a concatenation of the
 method name and the names of classes that make up the parameters.
| Constructor Summary | |
|---|---|
| ClassMap(Class clazz,
         Log log)Standard constructor | |
| Method Summary | |
|---|---|
|  Method | findMethod(String name,
           Object[] params)Find a Method using the method name and parameter objects. | 
|  Class | getCachedClass()Returns the class object whose methods are cached by this map. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ClassMap(Class clazz,
                Log log)
clazz - The class for which this ClassMap gets constructed.| Method Detail | 
|---|
public Class getCachedClass()
public Method findMethod(String name,
                         Object[] params)
                  throws MethodMap.AmbiguousException
name - The method name to look up.params - An array of parameters for the method.
MethodMap.AmbiguousException - When more than one method is a match for the parameters.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||