Similar to SAX2's Locator interface.
  An application can implement this interface and
  then register it with the setLocator() method to 
  find out in which line and column and file a given
  node appears. 
   
IDL:
  interface DOMLocator {
    int        getColumnNumber();
    int        getLineNumber();
    DOMString  getPublicID();
    DOMString  getSystemID();
    Node       getNode();
  };
Java binding:
package org.w3c.dom.contentModel;
public interface DOMLocator {
    public int    getColumnNumber();
    public int    getLineNumber();
    public String getPublicID();
    public Node   getNode();
}