DOMLocator


DOMLocator org.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( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net