org.apache.commons.validator
public class ValidatorResourcesInitializer extends Object
Deprecated: ValidatorResources knows how to initialize itself now.
Maps an xml file to ValidatorResources.
| Field Summary | |
|---|---|
| protected static 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. |
| Method Summary | |
|---|---|
| static ValidatorResources | initialize(String fileName)
Initializes a ValidatorResources based on a
file path and automatically process the resources.
|
| static ValidatorResources | initialize(InputStream in)
Initializes a ValidatorResources based on the
InputStream 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.
|
Deprecated: Subclasses should use their own logging instance.
Logger.ValidatorResources based on a
file path and automatically process the resources.
Parameters: fileName The file path for the xml resource.
ValidatorResources based on the
InputStream and automatically process the resources.
Parameters: in InputStream for the xml resource.
ValidatorResources based on the InputStream
and automatically process the resources.
Parameters: resources Resources to initialize. in InputStream for the xml resource.
ValidatorResources based on the InputStream
and processes the resources based on the boolean passed in.
Parameters: resources Resources to initialize. in InputStream for the xml resource. process Whether or not to call process on
ValidatorResources.