public class ValidatorResourcesInitializer
extends java.lang.Object
Maps an xml file to ValidatorResources.
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log
Deprecated.
Subclasses should use their own logging instance.
|
protected static java.lang.String[] |
registrations
Deprecated.
The set of public identifiers, and corresponding resource names, for
the versions of the configuration file DTDs that we know about.
|
| Constructor and Description |
|---|
ValidatorResourcesInitializer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ValidatorResources |
initialize(java.io.InputStream in)
Deprecated.
Initializes a
ValidatorResources based on the
InputStream and automatically process the resources. |
static ValidatorResources |
initialize(java.lang.String fileName)
Deprecated.
Initializes a
ValidatorResources based on a
file path and automatically process the resources. |
static void |
initialize(ValidatorResources resources,
java.io.InputStream in)
Deprecated.
Initializes the
ValidatorResources based on the InputStream
and automatically process the resources. |
static void |
initialize(ValidatorResources resources,
java.io.InputStream in,
boolean process)
Deprecated.
Initializes a
ValidatorResources based on the InputStream
and processes the resources based on the boolean passed in. |
protected static org.apache.commons.logging.Log log
protected static java.lang.String[] registrations
public static ValidatorResources initialize(java.lang.String fileName) throws java.io.IOException
ValidatorResources based on a
file path and automatically process the resources.fileName - The file path for the xml resource.java.io.IOExceptionpublic static ValidatorResources initialize(java.io.InputStream in) throws java.io.IOException
ValidatorResources based on the
InputStream and automatically process the resources.in - InputStream for the xml resource.java.io.IOExceptionpublic static void initialize(ValidatorResources resources, java.io.InputStream in) throws java.io.IOException
ValidatorResources based on the InputStream
and automatically process the resources.resources - Resources to initialize.in - InputStream for the xml resource.java.io.IOExceptionpublic static void initialize(ValidatorResources resources, java.io.InputStream in, boolean process) throws java.io.IOException
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.java.io.IOExceptionCopyright (c) 2001-2004 Apache Software Foundation