org.dom4j.tree

Class DefaultCDATA

public class DefaultCDATA extends FlyweightCDATA

DefaultCDATA is the default CDATA implementation. It is a doubly linked node which supports the parent relationship and can be modified in place.

Version: $Revision: 1.12 $

Author: James Strachan

Constructor Summary
DefaultCDATA(String text)
DOCUMENT ME!
DefaultCDATA(Element parent, String text)
DOCUMENT ME!
Method Summary
ElementgetParent()
booleanisReadOnly()
voidsetParent(Element parent)
voidsetText(String text)
booleansupportsParent()

Constructor Detail

DefaultCDATA

public DefaultCDATA(String text)
DOCUMENT ME!

Parameters: text is the CDATA text

DefaultCDATA

public DefaultCDATA(Element parent, String text)
DOCUMENT ME!

Parameters: parent is the parent element text is the CDATA text

Method Detail

getParent

public Element getParent()

isReadOnly

public boolean isReadOnly()

setParent

public void setParent(Element parent)

setText

public void setText(String text)

supportsParent

public boolean supportsParent()
Copyright B) 2005 MetaStuff Ltd. All Rights Reserved. Hosted by

SourceForge