01: /*
02: * $Id: SourceLocator.java,v 1.4 2001/11/02 22:07:45 db Exp $
03: * Copyright (C) 2001 Andrew Selkirk
04: *
05: * This file is part of GNU JAXP, a library.
06: *
07: * GNU JAXP is free software; you can redistribute it and/or modify
08: * it under the terms of the GNU General Public License as published by
09: * the Free Software Foundation; either version 2 of the License, or
10: * (at your option) any later version.
11: *
12: * GNU JAXP is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: * GNU General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public License
18: * along with this program; if not, write to the Free Software
19: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20: *
21: * As a special exception, if you link this library with other files to
22: * produce an executable, this library does not by itself cause the
23: * resulting executable to be covered by the GNU General Public License.
24: * This exception does not however invalidate any other reasons why the
25: * executable file might be covered by the GNU General Public License.
26: */
27: package javax.xml.transform;
28:
29: /**
30: * JAXP/transform analogue of SAX Locator.
31: * @see org.xml.sax.Locator
32: * @author Andrew Selkirk
33: * @version 1.0
34: */
35: public interface SourceLocator {
36:
37: //-------------------------------------------------------------
38: // Interface: SourceLocator -----------------------------------
39: //-------------------------------------------------------------
40:
41: public String getPublicId();
42:
43: public String getSystemId();
44:
45: public int getLineNumber();
46:
47: public int getColumnNumber();
48:
49: } // SourceLocator
|