org.apache.batik.dom.util
public class DocumentDescriptor extends Object
Nested Class Summary | |
---|---|
protected class | DocumentDescriptor.Entry
To manage collisions |
Field Summary | |
---|---|
protected int | count
The number of entries |
protected static int | INITIAL_CAPACITY
The table initial capacity |
protected DocumentDescriptor.Entry[] | table
The underlying array |
Constructor Summary | |
---|---|
DocumentDescriptor()
Creates a new table. |
Method Summary | |
---|---|
int | getLocationColumn(Element elt)
Returns the location column in the source file of the end element. |
int | getLocationLine(Element elt)
Returns the location line in the source file of the end element. |
int | getNumberOfElements()
Returns the number of elements in the document. |
protected void | rehash()
Rehash the table |
protected void | removeEntry(DocumentDescriptor.Entry e) |
void | setLocation(Element elt, int line, int col)
Sets the location in the source file of the end element. |
Returns: zero if the information is unknown.
Returns: zero if the information is unknown.