org.apache.xerces.xni

Interface XMLLocator

public interface XMLLocator

Location information.

Version:
$Id: XMLLocator.java,v 1.9 2003/03/26 04:08:25 neilg Exp $

Author:
Andy Clark, IBM

Method Summary

String
getBaseSystemId()
Returns the base system identifier.
int
getColumnNumber()
Returns the column number.
String
getEncoding()
Returns the encoding of the current entity.
String
getExpandedSystemId()
Returns the expanded system identifier.
int
getLineNumber()
Returns the line number.
String
getLiteralSystemId()
Returns the literal system identifier.
String
getPublicId()
Returns the public identifier.

Method Details

getBaseSystemId

public String getBaseSystemId()
Returns the base system identifier.


getColumnNumber

public int getColumnNumber()
Returns the column number.


getEncoding

public String getEncoding()
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()
Returns the expanded system identifier.


getLineNumber

public int getLineNumber()
Returns the line number.


getLiteralSystemId

public String getLiteralSystemId()
Returns the literal system identifier.


getPublicId

public String getPublicId()
Returns the public identifier.


Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.