|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ucsb.nceas.metacat.BasicNode
edu.ucsb.nceas.metacat.PINode
A Class that represents an XML PI node and its contents,
Constructor Summary | |
PINode(long nodeid,
long parentnodeid,
java.lang.String nodename,
java.lang.String nodedata)
Construct a new PINode instance |
Method Summary | |
java.lang.String |
getNodeData()
Get the node data as a string value |
void |
setNodeData(java.lang.String nodedata)
Set the node data to the given string |
java.lang.String |
toString()
String representation of this text node |
Methods inherited from class edu.ucsb.nceas.metacat.BasicNode |
addChildNode, getAttribute, getAttributes, getChildren, getDocID, getNamespace, getNodeID, getNodeIndex, getNodeType, getParentID, getRootNodeID, getTagName, incChildNum, setAttribute, setDocID, setNamespace, 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 PINode(long nodeid, long parentnodeid, java.lang.String nodename, java.lang.String nodedata)
nodeid
- the id for the node to be createdparentnodeid
- the id of the parent nodenodename
- the name of the PI nodenodedata
- the contents of the PI nodeMethod Detail |
public void setNodeData(java.lang.String nodedata)
public java.lang.String getNodeData()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |