1 8 package org.apache.avalon.phoenix.interfaces; 9 10 import org.apache.avalon.framework.configuration.Configuration; 11 import org.apache.avalon.framework.configuration.ConfigurationException; 12 13 19 public interface ConfigurationValidator 20 { 21 String ROLE = ConfigurationValidator.class.getName(); 22 23 32 void addSchema( String application, String block, String schemaType, String url ) 33 throws ConfigurationException; 34 35 44 void removeSchema( String application, String block ); 45 46 62 boolean isFeasiblyValid( String application, String block, Configuration configuration ) 63 throws ConfigurationException; 64 65 76 boolean isValid( String application, String block, Configuration configuration ) 77 throws ConfigurationException; 78 } 79 | Popular Tags |