This
Level 3 interface represents the
location at which a DOMError occurred. The methods
return the location of the error as measured by various metrics (byte
offset, line and column number, etc.) and return
-1 or null if location
information is not available.
public interface
DOMLocator {
// Public Instance Methods
int
getByteOffset ( );
int
getColumnNumber ( );
int
getLineNumber ( );
Node
getRelatedNode ( );
String
getUri ( );
int
getUtf16Offset ( );
}