类 FieldTool.MutableField

java.lang.Object
org.apache.velocity.tools.generic.FieldTool.MutableField
封闭类:
FieldTool

public static class FieldTool.MutableField extends Object
Holds a Field and Class reference for later retrieval of the value of a field that is not final and may change at different lookups. If a Log is passed in, then this will log errors, otherwise it will fail silently.
  • 字段详细资料

    • clazz

      private final Class clazz
    • field

      private final Field field
    • log

      private final org.apache.velocity.runtime.log.Log log
  • 构造器详细资料

    • MutableField

      public MutableField(Field f, Class c, org.apache.velocity.runtime.log.Log l)
  • 方法详细资料

    • getValue

      public Object getValue()