public class PINode extends BasicNode
Constructor and Description |
---|
PINode(long nodeid,
long parentnodeid,
java.lang.String nodename,
java.lang.String nodedata)
Construct a new PINode 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, setTagName
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 nodepublic void setNodeData(java.lang.String nodedata)
public java.lang.String getNodeData()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2020 Regents of the University of California. All Rights Reserved.