|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectorg.apache.velocity.tools.generic.introspection.PublicFieldUberspect.PublicFieldGetter
protected class PublicFieldUberspect.PublicFieldGetter
Implementation of VelPropertyGet that gets from public fields.
| コンストラクタの概要 | |
|---|---|
PublicFieldUberspect.PublicFieldGetter(java.lang.reflect.Field field)
Constructor. |
|
| メソッドの概要 | |
|---|---|
java.lang.String |
getMethodName()
Returns "public field getter", since there is no method. |
java.lang.Object |
invoke(java.lang.Object o)
Returns the value of the public field. |
boolean |
isCacheable()
This class is cacheable, so it returns true. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public PublicFieldUberspect.PublicFieldGetter(java.lang.reflect.Field field)
field - The Field object representing the property.| メソッドの詳細 |
|---|
public java.lang.Object invoke(java.lang.Object o)
throws java.lang.Exception
org.apache.velocity.util.introspection.VelPropertyGet 内の invokeo - the object
java.lang.Exception - failed to get the value from the objectpublic boolean isCacheable()
true.
org.apache.velocity.util.introspection.VelPropertyGet 内の isCacheabletrue.public java.lang.String getMethodName()
"public field getter", since there is no method.
org.apache.velocity.util.introspection.VelPropertyGet 内の getMethodName"public field getter"
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||