|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.document.NamespaceManager.NodeCount
public static final class NamespaceManager.NodeCount
Class holding elements and attributes count. Mutable.
Field Summary | |
---|---|
int |
attributes
Count of Attribute nodes. |
int |
elements
Count of Element nodes. |
Constructor Summary | |
---|---|
NamespaceManager.NodeCount()
Constructs zero counter. |
|
NamespaceManager.NodeCount(NamespaceManager.NodeCount other)
Copy-constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
int |
getCount()
Returns count of all nodes. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int elements
Element
nodes.
public int attributes
Attribute
nodes.
Constructor Detail |
---|
public NamespaceManager.NodeCount()
public NamespaceManager.NodeCount(NamespaceManager.NodeCount other)
other
- copies the object.Method Detail |
---|
public int getCount()
elements
and attributes
.public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |