org.dom4j.tree
public class DefaultEntity extends FlyweightEntity
DefaultEntity
is the default Entity implementation. It is a
doubly linked node which supports the parent relationship and can be modified
in place.
Version: $Revision: 1.11 $
Constructor Summary | |
---|---|
DefaultEntity(String name)
Creates the Entity with the specified name
| |
DefaultEntity(String name, String text)
Creates the Entity with the specified name and text.
| |
DefaultEntity(Element parent, String name, String text)
Creates the Entity with the specified name and text.
|
Method Summary | |
---|---|
Element | getParent() |
boolean | isReadOnly() |
void | setName(String name) |
void | setParent(Element parent) |
void | setText(String text) |
boolean | supportsParent() |
Entity
with the specified name
Parameters: name is the name of the entity
Entity
with the specified name and text.
Parameters: name is the name of the entity text is the text of the entity
Entity
with the specified name and text.
Parameters: parent is the parent element name is the name of the entity text is the text of the entity