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

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

 class DOM4JLocator
extends java.lang.Object


Constructor Summary
DOM4JLocator()
           
 
Method Summary
static org.xml.sax.Locator getLocationInfo(org.w3c.dom.Element e)
          Gets the location information from an element.
static void setLocationInfo(org.w3c.dom.Element e, org.xml.sax.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

DOM4JLocator

DOM4JLocator()
Method Detail

setLocationInfo

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


getLocationInfo

public static org.xml.sax.Locator getLocationInfo(org.w3c.dom.Element e)
Gets the location information from an element.

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