| org.apache.xerces.xni.XMLLocator
All known Subclasses: org.apache.xerces.util.XMLLocatorWrapper, org.apache.xerces.util.SAXLocatorWrapper, org.apache.xerces.impl.XMLEntityScanner, org.apache.xerces.impl.xs.util.SimpleLocator,
XMLLocator | public interface XMLLocator (Code) | | Location information.
author: Andy Clark, IBM version: $Id: XMLLocator.java 447247 2006-09-18 05:23:52Z mrglavas $ |
getBaseSystemId | public String getBaseSystemId()(Code) | | Returns the base system identifier.
|
getCharacterOffset | public int getCharacterOffset()(Code) | | Returns the character offset, or -1 if no character offset is available.
|
getColumnNumber | public int getColumnNumber()(Code) | | Returns the column number, or -1 if no column number is available.
|
getEncoding | public String getEncoding()(Code) | | Returns the encoding of the current entity.
Note that, for a given entity, this value can only be
considered final once the encoding declaration has been read (or once it
has been determined that there is no such declaration) since, no encoding
having been specified on the XMLInputSource, the parser
will make an initial "guess" which could be in error.
|
getExpandedSystemId | public String getExpandedSystemId()(Code) | | Returns the expanded system identifier.
|
getLineNumber | public int getLineNumber()(Code) | | Returns the line number, or -1 if no line number is available.
|
getLiteralSystemId | public String getLiteralSystemId()(Code) | | Returns the literal system identifier.
|
getPublicId | public String getPublicId()(Code) | | Returns the public identifier.
|
getXMLVersion | public String getXMLVersion()(Code) | | Returns the XML version of the current entity. This will normally be the
value from the XML or text declaration or defaulted by the parser. Note that
that this value may be different than the version of the processing rules
applied to the current entity. For instance, an XML 1.1 document may refer to
XML 1.0 entities. In such a case the rules of XML 1.1 are applied to the entire
document. Also note that, for a given entity, this value can only be considered
final once the XML or text declaration has been read or once it has been
determined that there is no such declaration.
|
|
|