|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.ucsb.nceas.metacat.BasicNode | +--edu.ucsb.nceas.metacat.ElementNode
A Class that represents an XML element and its contents, and can build itself from a database connection
Constructor Summary | |
ElementNode(java.util.TreeSet nodeRecordList,
long nodeid)
Construct a new ElementNode instance, and recursively create its children |
Method Summary | |
java.lang.String |
toString()
String representation for display purposes (recursively descends through children to create an XML subtree) |
Methods inherited from class edu.ucsb.nceas.metacat.BasicNode |
addChildNode, getAttribute, getAttributes, getChildren, getDocID, getNodeID, getNodeIndex, getNodeType, getParentID, getRootNodeID, getTagName, incChildNum, setAttribute, setDocID, setNodeID, setNodeIndex, setNodeType, setParentID, setRootNodeID, setTagName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ElementNode(java.util.TreeSet nodeRecordList, long nodeid)
nodeRecordList
- the nodedata to use to initialize, which is a
TreeSet of NodeRecord objectsnodeid
- the identifier for the node to be createdMethod Detail |
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |