org.dom4j.tree

Class FlyweightCDATA

public class FlyweightCDATA extends AbstractCDATA implements CDATA

FlyweightCDATA is a Flyweight pattern implementation of a singly linked, read-only XML CDATA.

This node could be shared across documents and elements though it does not support the parent relationship.

Version: $Revision: 1.8 $

Author: James Strachan

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

Field Detail

text

protected String text
Text of the CDATA node

Constructor Detail

FlyweightCDATA

public FlyweightCDATA(String text)
DOCUMENT ME!

Parameters: text is the CDATA text

Method Detail

createXPathResult

protected Node createXPathResult(Element parent)

getText

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

SourceForge