FileDocCategorySizeDatePackage
ValidationManagerFactory.javaAPI DocGlassfish v2 API3867Fri May 04 22:34:58 BST 2007com.sun.enterprise.tools.common.validation

ValidationManagerFactory

public class ValidationManagerFactory extends Object
ValidationManagerFactory is a factory to create {@link ValidationManager} objects. Creates ValidationManager based on the given Validation File.
see
ValidationManager
author
Rajeshwar Patil
version
%I%, %G%

Fields Summary
Constructors Summary
public ValidationManagerFactory()
Creates a new instance of ValidationManagerFactory

    
Methods Summary
public com.sun.enterprise.tools.common.validation.ValidationManagergetValidationManager()
Creates default Validation Manager. Default Validation Manager is created using default Validation File

return
ValidationManager the default Validation Manager.

        return (ValidationManager) ObjectFactory.newInstance(
            "com.sun.enterprise.tools.common.validation." +             //NOI18N
                "ValidationManager");                                   //NOI18N
    
public com.sun.enterprise.tools.common.validation.ValidationManagergetValidationManager(java.lang.String validationFile)
Creates Validation Manager based on the given Validation File.

param
validationFile the Validation File. Validation File specifies Validation rules(which Constraints to apply to which elements).
return
ValidationManager the Validation Manager based on the given Validation File.

        return (ValidationManager) ObjectFactory.newInstance(
            "com.sun.enterprise.tools.common.validation." +             //NOI18N
                "ValidationManager", validationFile);                   //NOI18N