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