javax.xml.transform
Interface SourceLocator
- DOMLocator
public interface SourceLocator
The location in an XML resource at which an event occurred.
Tis is equivalent to the SAX Locator.
int | getColumnNumber() - Returns the column number at which the event occurred.
|
int | getLineNumber() - Returns the line number at which the event occurred.
|
String | getPublicId() - Returns the XML public ID for the document.
|
String | getSystemId() - Returns the XML system ID for the document.
|
getColumnNumber
public int getColumnNumber()
Returns the column number at which the event occurred.
- the column number, or -1 if not available
getLineNumber
public int getLineNumber()
Returns the line number at which the event occurred.
- the line number, or -1 if not available
getPublicId
public String getPublicId()
Returns the XML public ID for the document.
getSystemId
public String getSystemId()
Returns the XML system ID for the document.