XMLLocator.java revision 286
286N/A * reserved comment block 286N/A * DO NOT REMOVE OR ALTER! 286N/A * Copyright 2001-2004 The Apache Software Foundation. 286N/A * Licensed under the Apache License, Version 2.0 (the "License"); 286N/A * you may not use this file except in compliance with the License. 286N/A * You may obtain a copy of the License at 286N/A * Unless required by applicable law or agreed to in writing, software 286N/A * distributed under the License is distributed on an "AS IS" BASIS, 286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 286N/A * See the License for the specific language governing permissions and 286N/A * limitations under the License. 286N/A * Location information. 286N/A * @author Andy Clark, IBM 286N/A /** Returns the public identifier. */ 286N/A /** Returns the literal system identifier. */ 286N/A /** Returns the base system identifier. */ 286N/A /** Returns the expanded system identifier. */ 286N/A /** Returns the line number, or <code>-1</code> if no line number is available. */ 286N/A /** Returns the column number, or <code>-1</code> if no column number is available. */ 286N/A /** Returns the character offset, or <code>-1</code> if no character offset is available. */ 286N/A * Returns the encoding of the current entity. 286N/A * Note that, for a given entity, this value can only be 286N/A * considered final once the encoding declaration has been read (or once it 286N/A * has been determined that there is no such declaration) since, no encoding 286N/A * having been specified on the XMLInputSource, the parser 286N/A * will make an initial "guess" which could be in error. 286N/A * Returns the XML version of the current entity. This will normally be the 286N/A * value from the XML or text declaration or defaulted by the parser. Note that 286N/A * that this value may be different than the version of the processing rules 286N/A * applied to the current entity. For instance, an XML 1.1 document may refer to 286N/A * XML 1.0 entities. In such a case the rules of XML 1.1 are applied to the entire 286N/A * document. Also note that, for a given entity, this value can only be considered 286N/A * final once the XML or text declaration has been read or once it has been 286N/A * determined that there is no such declaration. 286N/A}
// interface XMLLocator