1 22 23 package org.xquark.schema; 24 25 import java.net.URL ; 26 import java.util.Iterator ; 27 28 import org.xml.sax.InputSource ; 29 import org.xml.sax.SAXException ; 30 import org.xml.sax.XMLReader ; 31 32 public interface SchemaLocator { 33 34 35 public XMLReader getSchemaReader() throws SAXException ; 36 public InputSource resolveLocation(String namespace, String location); 37 public InputSource resolveLocation(String namespace, URL location); 38 public String resolveInclude(String location); 39 public void clearSchemaLocations(); 40 public Iterator getSchemaLocations(String namespace); 41 public void addSchemaLocation(String uri, String location); 42 } 43 | Popular Tags |