org.dom4j.tree

Class FlyweightComment

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 $

Author: James Strachan

Field Summary
protected Stringtext
Text of the Comment node
Constructor Summary
FlyweightComment(String text)
DOCUMENT ME!
Method Summary
protected NodecreateXPathResult(Element parent)
StringgetText()

Field Detail

text

protected String text
Text of the Comment node

Constructor Detail

FlyweightComment

public FlyweightComment(String text)
DOCUMENT ME!

Parameters: text is the Comment text

Method Detail

createXPathResult

protected Node createXPathResult(Element parent)

getText

public String getText()
Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by

SourceForge