|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.pdark.decentxml.BasicNode
de.pdark.decentxml.Comment
public class Comment
| Constructor Summary | |
|---|---|
Comment(java.lang.String text)
|
|
Comment(Token token)
|
|
| Method Summary | |
|---|---|
Comment |
copy()
Simulate clone() |
Comment |
createClone()
Simulate clone() |
java.lang.String |
getText()
Get the text from the node |
Comment |
setText(java.lang.String text)
Change the text of the node. |
| Methods inherited from class de.pdark.decentxml.BasicNode |
|---|
copy, getEndOffset, getStartOffset, getToken, getType, getValue, setType, setValue, toString, toXML, toXML, toXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Comment(Token token)
public Comment(java.lang.String text)
| Method Detail |
|---|
public Comment setText(java.lang.String text)
TextNode
setText in interface TextNodepublic java.lang.String getText()
TextNode
getText in interface TextNodepublic Comment createClone()
Node
createClone in interface NodecreateClone in class BasicNodepublic Comment copy()
Node
copy in interface Nodecopy in class BasicNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||