All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.jclark.xml.parse.ParseLocation

public interface ParseLocation
Information about the location of the parse of an XML document.


Method Index

 o getByteIndex()
Returns the byte index of the first byte of the character being parsed or -1 if no byte index is available.
 o getColumnNumber()
Returns the column number of the character being parsed or -1 if no column number is available.
 o getEntityBase()
Returns the URL to use as the base URL for resolving relative URLs contained in the entity being parsed.
 o getEntityLocation()
Returns the location of the external entity being parsed in a form suitable for use in a message.
 o getLineNumber()
Returns the line number of the character being parsed or -1 if no line number is available.

Methods

 o getEntityLocation
 public abstract String getEntityLocation()
Returns the location of the external entity being parsed in a form suitable for use in a message. Returns null if no location is available. This is typically a URI or a filename.

 o getEntityBase
 public abstract URL getEntityBase()
Returns the URL to use as the base URL for resolving relative URLs contained in the entity being parsed.

 o getLineNumber
 public abstract int getLineNumber()
Returns the line number of the character being parsed or -1 if no line number is available. The number of the first line is 1.

 o getColumnNumber
 public abstract int getColumnNumber()
Returns the column number of the character being parsed or -1 if no column number is available. The number of the first column in a line is 0. A tab character is not treated specially.

 o getByteIndex
 public abstract long getByteIndex()
Returns the byte index of the first byte of the character being parsed or -1 if no byte index is available. The index of the first byte is 0.


All Packages  Class Hierarchy  This Package  Previous  Next  Index