org.dom4j.tree
public class FlyweightComment extends AbstractComment implements Comment
FlyweightComment
is a Flyweight pattern implementation of a
singly linked, read-only XML Comment.
This node could be shared across documents and elements though it does not support the parent relationship.
Version: $Revision: 1.7 $
Field Summary | |
---|---|
protected String | text Text of the Comment node |
Constructor Summary | |
---|---|
FlyweightComment(String text)
DOCUMENT ME!
|
Method Summary | |
---|---|
protected Node | createXPathResult(Element parent) |
String | getText() |
Comment
nodeParameters: text is the Comment text