public class CommentNode extends BasicNode
| Constructor and Description |
|---|
CommentNode(long nodeid,
long parentnodeid,
java.lang.String nodedata)
Construct a new CommentNode instance
|
| Modifier and Type | Method and Description |
|---|---|
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
|
addChildNode, getAttribute, getAttributes, getChildren, getDocID, getNamespace, getNodeID, getNodeIndex, getNodeType, getParentID, getRootNodeID, getTagName, incChildNum, setAttribute, setDocID, setNamespace, setNodeID, setNodeIndex, setNodeType, setParentID, setRootNodeID, setTagNamepublic CommentNode(long nodeid,
long parentnodeid,
java.lang.String nodedata)
nodeid - the element_id for the node to be createdparentnodeid - the id of the parent nodenodedata - the text of the nodenodetype - the type of the nodepublic void setNodeData(java.lang.String nodedata)
public java.lang.String getNodeData()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2020 Regents of the University of California. All Rights Reserved.