1 16 package org.apache.cocoon.components.validation; 17 18 import java.io.IOException ; 19 20 import org.apache.excalibur.source.Source; 21 import org.xml.sax.ErrorHandler ; 22 import org.xml.sax.SAXException ; 23 24 35 public interface SchemaParser { 36 37 38 public static final String ROLE = SchemaParser.class.getName(); 39 40 54 public Schema parseSchema(Source source, String grammar) 55 throws SAXException , IOException , IllegalArgumentException ; 56 57 63 public String [] getSupportedGrammars(); 64 65 } 66 | Popular Tags |