March 2005
Beginner to intermediate
1254 pages
104h 21m
English
DOMLocator
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( ); }
DOMError.getLocation( )
Read now
Unlock full access