01: package net.sf.saxon.event;
02:
03: import org.xml.sax.Locator;
04:
05: import javax.xml.transform.SourceLocator;
06:
07: /**
08: * SaxonLocator: this interface exists to unify the SAX Locator and JAXP SourceLocator interfaces,
09: * which are identical. It extends both interfaces. Therefore, anything
10: * that implements SaxonLocator can be used both in SAX and in JAXP interfaces.
11: */
12:
13: public interface SaxonLocator extends Locator, SourceLocator,
14: LocationProvider {
15: }
16:
17: //
18: // The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
19: // you may not use this file except in compliance with the License. You may obtain a copy of the
20: // License at http://www.mozilla.org/MPL/
21: //
22: // Software distributed under the License is distributed on an "AS IS" basis,
23: // WITHOUT WARRANTY OF ANY KIND, either express or implied.
24: // See the License for the specific language governing rights and limitations under the License.
25: //
26: // The Original Code is: all this file.
27: //
28: // The Initial Developer of the Original Code is Michael H. Kay
29: //
30: // Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
31: //
32: // Contributor(s): none.
33: //
|