01: package net.sf.saxon;
02:
03: import javax.xml.transform.URIResolver;
04:
05: /**
06: * This is a marker interface: if a URIResolver implements this interface and returns null from
07: * its resolve() method, then the standard URI resolver will not be invoked.
08: * <p>
09: * The main use case for this is to support protocols that the standard Java java.net.URL class
10: * does not recognize. In the case of doc-available(), we want to return false, rather than throwing
11: * an exception in such cases.
12: */
13:
14: public interface NonDelegatingURIResolver extends URIResolver {
15: // marker interface only
16: }
17:
18: //
19: // The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
20: // you may not use this file except in compliance with the License. You may obtain a copy of the
21: // License at http://www.mozilla.org/MPL/
22: //
23: // Software distributed under the License is distributed on an "AS IS" basis,
24: // WITHOUT WARRANTY OF ANY KIND, either express or implied.
25: // See the License for the specific language governing rights and limitations under the License.
26: //
27: // The Original Code is: all this file.
28: //
29: // The Initial Developer of the Original Code is Michael H. Kay.
30: //
31: // Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
32: //
33: // Contributor(s): none.
34: //
|