|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.dom.util.DocumentDescriptor
public class DocumentDescriptor
This class contains informations about a document.
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(org.w3c.dom.Element elt)
Returns the location column in the source file of the end element. |
int |
getLocationLine(org.w3c.dom.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(org.w3c.dom.Element elt,
int line,
int col)
Sets the location in the source file of the end element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int INITIAL_CAPACITY
protected DocumentDescriptor.Entry[] table
protected int count
Constructor Detail |
---|
public DocumentDescriptor()
Method Detail |
---|
public int getNumberOfElements()
public int getLocationLine(org.w3c.dom.Element elt)
public int getLocationColumn(org.w3c.dom.Element elt)
public void setLocation(org.w3c.dom.Element elt, int line, int col)
protected void rehash()
protected void removeEntry(DocumentDescriptor.Entry e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |