org.dom4j.tree
public class DefaultComment extends FlyweightComment
DefaultComment is the default Comment implementation. It is a
doubly linked node which supports the parent relationship and can be modified
in place.
Version: $Revision: 1.11 $
| Constructor Summary | |
|---|---|
| DefaultComment(String text)
DOCUMENT ME!
| |
| DefaultComment(Element parent, String text)
DOCUMENT ME!
| |
| Method Summary | |
|---|---|
| Element | getParent() |
| boolean | isReadOnly() |
| void | setParent(Element parent) |
| void | setText(String text) |
| boolean | supportsParent() |
Parameters: text is the Comment text
Parameters: parent is the parent element text is the Comment text