| 
 | ||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.cubby.internal.util.MetaUtils
public class MetaUtils
アクションのメタ情報を扱うためのユーティリティクラスです。
| コンストラクタの概要 | |
|---|---|
| MetaUtils() | |
| メソッドの概要 | |
|---|---|
| static RequestMethod[] | getAcceptableRequestMethods(Class<?> actionClass,
                            Method method)指定されたアクションメソッドが受付可能な要求メソッドを取得します。 | 
| static String | getActionDirectory(Class<?> actionClass)指定されたアクションクラスに対応するディレクトリを取得します。 | 
| static String | getActionPath(Class<?> actionClass,
              Method method)指定されたアクションメソッドのパスを取得します。 | 
| static String | getOnSubmit(Method method)指定されたアクションメソッドを使用することを判断するためのパラメータ名を取得します。 | 
| static int | getPriority(Method method)アクションメソッドの Pathアノテーションから優先度を取得します。 | 
| クラス java.lang.Object から継承されたメソッド | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| コンストラクタの詳細 | 
|---|
public MetaUtils()
| メソッドの詳細 | 
|---|
public static String getActionDirectory(Class<?> actionClass)
actionClass - アクションクラス
public static String getActionPath(Class<?> actionClass,
                                   Method method)
actionClass - アクションクラスmethod - アクションメソッド
public static RequestMethod[] getAcceptableRequestMethods(Class<?> actionClass,
                                                          Method method)
actionClass - アクションクラスmethod - アクションメソッド
public static int getPriority(Method method)
Pathアノテーションから優先度を取得します。
method - アクションメソッド
Pathアノテーションが設定されていない場合Integer.MAX_VALUEpublic static String getOnSubmit(Method method)
 パラメータ名によらずに実行する場合は null を返します。
 
method - アクションメソッド
| 
 | ||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||