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