Package de.pdark.decentxml
Class Comment
- java.lang.Object
-
- de.pdark.decentxml.BasicNode
-
- de.pdark.decentxml.Comment
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Comment
copy()
Simulate clone()Comment
createClone()
Simulate clone()String
getText()
Get the text from the nodeComment
setText(String text)
Change the text of the node.
-
-
-
Method Detail
-
setText
public Comment setText(String text)
Description copied from interface:TextNode
Change the text of the node. When necessary, the text will be escaped before writing it to the output stream.
-
getText
public String getText()
Description copied from interface:TextNode
Get the text from the node
-
createClone
public Comment createClone()
Description copied from interface:Node
Simulate clone()- Specified by:
createClone
in interfaceNode
- Overrides:
createClone
in classBasicNode
-
-