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()java.lang.StringgetText()Get the text from the nodeCommentsetText(java.lang.String text)Change the text of the node.
-
-
-
Constructor Detail
-
Comment
public Comment(Token token)
-
Comment
public Comment(java.lang.String text)
-
-
Method Detail
-
setText
public Comment setText(java.lang.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 java.lang.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
-
-