The starting point is a DOM element list with almost a child element, this first child element is saved as the pattern (really a deep clone), and new elements are created using this element as the pattern. The initial element list (including the pattern) may be initially cleared or kept as is when this object is created and attached to the underlying DOM list.
This type of list helps to render a list of values into the DOM element list, for instance, this interface support "out the box" the typical DOM element list where every child element contains some value usually as the data of a text node. Methods to add new elements include optionally a value
parameter. The structure and renderer objects are used to customize how and where this value is saved in the list beyond the default cases.
A pattern based DOM Element list ever works in "master" mode, see {@link ElementListFree#isMaster()}.
@see ElementGroupManager#createElementList(org.w3c.dom.Element,boolean) @author Jose Maria Arranz Santamaria
|
|
|
|
|
|