javax.xml.transform
Interface SourceLocator


public interface SourceLocator

An interface to return line numbers for the source of an error.


Method Summary
 int getColumnNumber()
          Returns the column number of the error.
 int getLineNumber()
          Returns the line number of the error.
 java.lang.String getPublicId()
          Returns the public-id of the error.
 java.lang.String getSystemId()
          Gets the system-id (file path) of the error.
 

Method Detail

getPublicId

public java.lang.String getPublicId()
Returns the public-id of the error.
Returns:
the public id

getSystemId

public java.lang.String getSystemId()
Gets the system-id (file path) of the error.
Returns:
the system id as a URL

getLineNumber

public int getLineNumber()
Returns the line number of the error.

getColumnNumber

public int getColumnNumber()
Returns the column number of the error.