|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectantsnest.datastructure.DefaultAntNode
antsnest.datastructure.DefaultAntTextNode
public class DefaultAntTextNode
Represents nested text inside an Ant node
| Constructor Summary | |
|---|---|
DefaultAntTextNode()
Constructs a new text node |
|
| Method Summary | |
|---|---|
AntNode |
cloneNode(IDPool idPool)
Gets a clone of this node |
String |
getText()
Gets the text |
void |
setText(String text)
Sets the text |
String |
toString()
Provides a string representation of this text |
| Methods inherited from class antsnest.datastructure.DefaultAntNode |
|---|
addAttribute, addAttribute, addNode, addNode, changeAttribute, equals, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface antsnest.datastructure.AntNode |
|---|
addAttribute, addAttribute, addNode, addNode, changeAttribute, 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 |
| Constructor Detail |
|---|
public DefaultAntTextNode()
| Method Detail |
|---|
public String getText()
getText in interface AntNodeTextpublic void setText(String text)
setText in interface AntNodeTexttext - the new textpublic String toString()
toString in class Objectpublic AntNode cloneNode(IDPool idPool)
cloneNode in interface AntNodecloneNode in class DefaultAntNodeidPool - an ID pool to use
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||