Name
DOMLocator
Synopsis
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( ); }
Returned By
DOMError.getLocation( )
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.