1 19 20 package org.netbeans.modules.j2ee.sun.validation; 21 22 import org.netbeans.modules.j2ee.sun.validation.util.ObjectFactory; 23 import org.netbeans.modules.j2ee.sun.validation.ValidationManager; 24 25 26 36 37 public class ValidationManagerFactory { 38 39 40 41 public ValidationManagerFactory(){ 42 } 43 44 45 52 public ValidationManager getValidationManager(){ 53 return (ValidationManager) ObjectFactory.newInstance( 54 "org.netbeans.modules.j2ee.sun.validation." + "ValidationManager"); } 57 58 59 68 public ValidationManager getValidationManager(String validationFile){ 69 return (ValidationManager) ObjectFactory.newInstance( 70 "org.netbeans.modules.j2ee.sun.validation." + "ValidationManager", validationFile); } 73 } 74 | Popular Tags |