Package com.sun.enterprise.tools.common.validation

Examples of com.sun.enterprise.tools.common.validation.ValidationManager


            ValidationManagerFactory validationManagerFactory =
                new ValidationManagerFactory();

            //you can pass either absolute or relative path of the validation
            //file to getValidationManager()
            ValidationManager validationManager =
                validationManagerFactory.getValidationManager(validationFile);

            Collection failures =
                validationManager.validate(rootElement);

            Display display = new Display();
            display.text(failures);
            display.gui(failures);
        }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.tools.common.validation.ValidationManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.