org.apache.commons.validator
クラス ValidatorResourcesInitializer

java.lang.Object
  拡張org.apache.commons.validator.ValidatorResourcesInitializer

public class ValidatorResourcesInitializer
extends Object

XMLファイルの情報を ValidatorResources にマッピングします。

Maps an xml file to ValidatorResources.

バージョン:
$Revision: 1.1.1.1 $ $Date: 2004/02/13 10:02:01 $
作成者:
David Winterfeldt, Dave Derry
翻訳者:
日置 聡
翻訳状況:
中断(訳者募集中)
翻訳更新日:
2003/07/28

フィールドの概要
protected static org.apache.commons.logging.Log log
          Logger
protected static String[] registrations
          The set of public identifiers, and corresponding resource names, for the versions of the configuration file DTDs that we know about.
 
コンストラクタの概要
ValidatorResourcesInitializer()
           
 
メソッドの概要
static ValidatorResources initialize(InputStream in)
          Initializes a ValidatorResources based on the InputStream and automatically process the resources.
static ValidatorResources initialize(String fileName)
          Initializes a ValidatorResources based on a file path and automatically process the resources.
static void initialize(ValidatorResources resources, InputStream in)
          Initializes the ValidatorResources based on the InputStream and automatically process the resources.
static void initialize(ValidatorResources resources, InputStream in, boolean process)
          Initializes a ValidatorResources based on the InputStream and processes the resources based on the boolean passed in.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

log

protected static org.apache.commons.logging.Log log
Logger


registrations

protected static String[] registrations
The set of public identifiers, and corresponding resource names, for the versions of the configuration file DTDs that we know about. There MUST be an even number of Strings in this list!

コンストラクタの詳細

ValidatorResourcesInitializer

public ValidatorResourcesInitializer()
メソッドの詳細

initialize

public static ValidatorResources initialize(String fileName)
                                     throws IOException
Initializes a ValidatorResources based on a file path and automatically process the resources.

パラメータ:
fileName - The file path for the xml resource.
例外:
IOException

initialize

public static ValidatorResources initialize(InputStream in)
                                     throws IOException
Initializes a ValidatorResources based on the InputStream and automatically process the resources.

パラメータ:
in - InputStream for the xml resource.
例外:
IOException

initialize

public static void initialize(ValidatorResources resources,
                              InputStream in)
                       throws IOException
Initializes the ValidatorResources based on the InputStream and automatically process the resources.

パラメータ:
resources - Resources to initialize.
in - InputStream for the xml resource.
例外:
IOException

initialize

public static void initialize(ValidatorResources resources,
                              InputStream in,
                              boolean process)
                       throws IOException
Initializes a ValidatorResources based on the InputStream and processes the resources based on the boolean passed in.

パラメータ:
resources - Resources to initialize.
in - InputStream for the xml resource.
process - Whether or not to call process on ValidatorResources.
例外:
IOException


このドキュメントは、Ja-Jakartaにより訳されました。 コメントがある場合は report@jajakarta.orgまでお願いします。
Translated into Japanese by jajakarta.org. The original page is here.
Copyright (c) 2002-2003 - Apache Software Foundation