org.dom4j.tree

Class DefaultText

public class DefaultText extends FlyweightText

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

Version: $Revision: 1.11 $

Author: James Strachan

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

Constructor Detail

DefaultText

public DefaultText(String text)
DOCUMENT ME!

Parameters: text is the Text text

DefaultText

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

Parameters: parent is the parent element text is the Text 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