Top Description Fields Constructors Methods
com.sun.tools.xjc.reader.internalizer

public final Class LocatorTable

extends Object
Class Inheritance
Imports
java.util.HashMap, .Map, org.w3c.dom.Element, org.xml.sax.Locator, org.xml.sax.helpers.LocatorImpl

Stores Locator objects for every Element.
Author
Kohsuke Kawaguchi ([email protected])

Field Summary

Modifier and TypeField and Description
private final Map<Element, Locator>
endLocations

Locations of the end element.

private final Map<Element, Locator>
startLocations

Locations of the start element.

Constructor Summary

AccessConstructor and Description
public
LocatorTable()

Default constructor.

Method Summary

Modifier and TypeMethod and Description
public Locator
public Locator
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

endLocationsback to summary
private final Map<Element, Locator> endLocations

Locations of the end element.

startLocationsback to summary
private final Map<Element, Locator> startLocations

Locations of the start element.

Constructor Detail

LocatorTableback to summary
public LocatorTable()

Default constructor.

Method Detail

getEndLocationback to summary
public Locator getEndLocation(Element e)
getStartLocationback to summary
public Locator getStartLocation(Element e)
storeEndLocationback to summary
public void storeEndLocation(Element e, Locator loc)
storeStartLocationback to summary
public void storeStartLocation(Element e, Locator loc)