antsnest.datastructure
Interface AntComment

All Superinterfaces:
AntNode, Serializable
All Known Implementing Classes:
DefaultAntComment

public interface AntComment
extends AntNode

A type of node, but no methods in the super interface are directly used

Author:
Chris Clohosy

Method Summary
 String getComment()
          Gets the comment held in this node
 void setComment(String comment)
          Sets the comment held in this node
 
Methods inherited from interface antsnest.datastructure.AntNode
addAttribute, addAttribute, addNode, addNode, changeAttribute, cloneNode, getAttribute, getAttribute, getAttributeSize, getData, getDescription, getIDPool, getName, getNode, getNodeID, getNodeSize, getNodeText, getParent, getType, getTypeAt, indexOfAttribute, indexOfNode, moveAttribute, moveNode, removeAttribute, removeAttribute, removeNode, removeNode, setData, setDescription, setIDPool, setName, setNodeID, setParent
 

Method Detail

getComment

String getComment()
Gets the comment held in this node

Returns:
a String, the comment

setComment

void setComment(String comment)
Sets the comment held in this node

Parameters:
comment - the new comment