1 57 58 package org.enhydra.apache.xerces.validators.common; 59 import java.util.Enumeration ; 60 61 import org.enhydra.apache.xerces.validators.datatype.DatatypeValidatorFactory; 62 63 71 72 public interface GrammarResolver { 73 77 78 85 public Grammar getGrammar( String nameSpaceKey ); 86 87 public DatatypeValidatorFactory getDatatypeRegistry(); 88 89 93 94 public Enumeration nameSpaceKeys(); 95 96 104 public void putGrammar( String nameSpaceKey, Grammar grammar ); 105 106 113 public Grammar removeGrammar( String nameSpaceKey ); 114 115 116 117 124 public boolean contains( Grammar grammar ); 125 126 134 public boolean containsNameSpace( String nameSpaceKey ); 135 136 139 public void clearGrammarResolver(); 140 141 145 public int size(); 146 147 } 148 149 150 151 | Popular Tags |