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

Class DOMLocator

class DOMLocator extends Object

Method Summary
static LocatorgetLocationInfo(Element e)
Gets the location information from an element.
static voidsetLocationInfo(Element e, Locator loc)
Sets the location information to a specified element.

Method Detail

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.

setLocationInfo

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