类 FieldTool.FieldToolSub

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

public static class FieldTool.FieldToolSub extends Object
Holds a Map of results for a particular class. This exists simply to enable the $field.in("class.Name").FOO syntax, even when storeDynamicLookups is set to false. NOTE: we can't simply return the results Map when the in() methods are called, because the Map contains placeholders for any mutable fields found. We want to put off reading non-final field values to the last moment, in case their values change.
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • get

      public Object get(String name)
    • toString

      public String toString()
      Return the toString() value of the internal results Map for this sub.
      覆盖:
      toString 在类中 Object