org.dom4j.tree

Class FlyweightText

public class FlyweightText extends AbstractText implements Text

FlyweightText is a Flyweight pattern implementation of a singly linked, read-only XML Text.

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 Text node
Constructor Summary
FlyweightText(String text)
DOCUMENT ME!
Method Summary
protected NodecreateXPathResult(Element parent)
StringgetText()

Field Detail

text

protected String text
Text of the Text node

Constructor Detail

FlyweightText

public FlyweightText(String text)
DOCUMENT ME!

Parameters: text is the Text text

Method Detail

createXPathResult

protected Node createXPathResult(Element parent)

getText

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

SourceForge