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 Commentcopy()Simulate clone()CommentcreateClone()Simulate clone()StringgetText()Get the text from the nodeCommentsetText(String text)Change the text of the node.
-
-
-
Method Detail
-
setText
public Comment setText(String text)
Description copied from interface:TextNodeChange 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:TextNodeGet the text from the node
-
createClone
public Comment createClone()
Description copied from interface:NodeSimulate clone()- Specified by:
createClonein interfaceNode- Overrides:
createClonein classBasicNode
-
-