jp.terasoluna.fw.web.struts.plugins
クラス ValidatorPlugInEx
java.lang.Object
org.apache.struts.validator.ValidatorPlugIn
jp.terasoluna.fw.web.struts.plugins.ValidatorPlugInEx
- すべての実装されたインタフェース:
- org.apache.struts.action.PlugIn
public class ValidatorPlugInEx
- extends org.apache.struts.validator.ValidatorPlugIn
拡張ValidatorPlugInクラスです。 ワイルドカードで指定したパスにマッチする入力チェック設定ファイル(validation.xml)をロードし、サーブレットコンテキストに保存するように、
Strutsが提供するValidatorPlugInを拡張しています。
クラス org.apache.struts.validator.ValidatorPlugIn から継承されたフィールド |
resources, STOP_ON_ERROR_KEY, VALIDATOR_KEY |
メソッドの概要 |
void |
init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig config)
プラグインを初期化します。 |
protected void |
initResources()
リソースを初期化します。 |
クラス org.apache.struts.validator.ValidatorPlugIn から継承されたメソッド |
destroy, destroyResources, getPathnames, isStopOnFirstError, setPathnames, setStopOnFirstError |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidatorPlugInEx
public ValidatorPlugInEx()
init
public void init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig config)
throws javax.servlet.ServletException
- プラグインを初期化します。
- 定義:
- インタフェース
org.apache.struts.action.PlugIn
内の init
- オーバーライド:
- クラス
org.apache.struts.validator.ValidatorPlugIn
内の init
- 例外:
javax.servlet.ServletException
- 関連項目:
ValidatorPlugIn.init(org.apache.struts.action.ActionServlet,
org.apache.struts.config.ModuleConfig)
initResources
protected void initResources()
throws IOException,
javax.servlet.ServletException
- リソースを初期化します。ResourcePatternResolverを利用し、ワイルドカードで指定したパスにマッチする入力チェック設定ファイル( validation.xml)をロードします。
- オーバーライド:
- クラス
org.apache.struts.validator.ValidatorPlugIn
内の initResources
- 例外:
IOException
javax.servlet.ServletException
- 関連項目:
ValidatorPlugIn.initResources()
Copyright © 2012. All Rights Reserved.