com.sun.tools.xjc.reader.dtd.bindinfo
Class DOMLocator

java.lang.Object
  extended by com.sun.tools.xjc.reader.dtd.bindinfo.DOMLocator

 class DOMLocator
extends Object


Constructor Summary
DOMLocator()
           
 
Method Summary
static Locator getLocationInfo(Element e)
          Gets the location information from an element.
static void setLocationInfo(Element e, Locator loc)
          Sets the location information to a specified element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMLocator

DOMLocator()
Method Detail

setLocationInfo

public static void setLocationInfo(Element e,
                                   Locator loc)
Sets the location information to a specified element.


getLocationInfo

public static Locator getLocationInfo(Element e)
Gets the location information from an element.

For this method to work, the setLocationInfo method has to be called before.