Class ClassFieldMap
java.lang.Object
org.apache.velocity.util.introspection.ClassFieldMap
A cache of introspection information for a specific class instance.
Keys
Field
objects by the field names.- Author:
- Jason van Zyl, Bob McWhirter, Attila Szegedi, Geir Magnusson Jr., Henning P. Schmiedehausen, Nathan Bubna, Candid Dauth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionFind a Field using the field name.Class
<?> Returns the class object whose fields are cached by this map.
-
Constructor Details
-
ClassFieldMap
Standard constructor- Parameters:
clazz
- The class for which this ClassMap gets constructed.log
- logger
-
-
Method Details
-
getCachedClass
Returns the class object whose fields are cached by this map.- Returns:
- The class object whose fields are cached by this map.
-
findField
Find a Field using the field name.- Parameters:
name
- The field name to look up.- Returns:
- A Field object representing the field to invoke or null.
-