Team LiB
Previous Section Next Section

DOMLocatororg.w3c.dom

Java 5.0

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( )

    Team LiB
    Previous Section Next Section