org.itsnat.core.domutil |
Contains utilities to manipulate DOM elements using the pattern approach (lists, tables and trees)
and other utility classes and interfaces.
|
Java Source File Name | Type | Comment |
ElementGroup.java | Interface | This interface is the base of several interface oriented to manage groups of DOM elements such as
element lists, tables and trees. |
ElementLabel.java | Interface | This utility interface is used to render a value inside the associated
DOM element using a pattern. |
ElementLabelRenderer.java | Interface | Used by
ElementLabel objects to render the associated value. |
ElementList.java | Interface | Manages a pattern based DOM Element list. |
ElementListBase.java | Interface | This utility interface represents and manages an integer indexed DOM Element list, a list
of consecutive elements with a single parent element. |
ElementListFree.java | Interface | Represents an integer indexed DOM Element list, child elements can have different
tag names (the meaning of "free").
The interface inherits from java.util.List and supports
both types of iterators. |
ElementListRenderer.java | Interface | Used by
ElementList objects to render the values associated
to child elements. |
ElementListStructure.java | Interface | Used by
ElementList objects to obtain the content parent element of
a child element of the list. |
ElementRenderer.java | Interface | Is used to render values as markup into DOM elements. |
ElementTable.java | Interface | Manages a pattern based DOM Element table.
The generic table structure is:
<tableParent>
<row>
...
<optRowContent>
<cell>
<opt1>...<optN>Pattern</optN>...</opt1>
</cell>
...
</optRowContent>
...
</row>
...
</tableParent>
The starting point usually is a DOM table with a single row containing one or several cells
this row is save as the pattern (really a deep clone) and used when new rows are added, the first cell
of the pattern is used to create new cells (for instance a new column).
The initial DOM table (including the row pattern) may be initially cleared
or kept as is when this object is created and attached to the underlying DOM table.
This type of table helps to render a table of values into the DOM element table,
for instance, this interface support "out the box" the typical DOM element table where
every cell element contains some value usually as the data of a text node. |
ElementTableBase.java | Interface | This utility interface represents and manages an integer indexed DOM Element table, a row list
of consecutive elements with a single parent element, every row element contains again an element list (cells). |
ElementTableFree.java | Interface | Represents an integer indexed DOM Element table, row elements and cell elements can have different
tag names (the meaning of "free").
The interface inherits from
ElementListFree and java.util.List
indirectly and supports both types of iterators. |
ElementTableRenderer.java | Interface | Used by
ElementTable objects to render the values associated
to cell elements. |
ElementTableStructure.java | Interface | Used by
ElementTable objects to obtain row and cell content elements. |
ElementTree.java | Interface | Represents a pattern based DOM tree with a removable root. |
ElementTreeNode.java | Interface | Represents a pattern based DOM tree node. |
ElementTreeNodeList.java | Interface | Represents a pattern based DOM tree node list. |
ElementTreeNodeRenderer.java | Interface | Used by
ElementTreeNode objects to render the value
associated to the tree node. |
ElementTreeNodeStructure.java | Interface | Used by
ElementTreeNode objects to obtain the required
element of the tree node markup. |
ItsNatDOMUtil.java | Class | This class provides methods to do frequent DOM related tasks. |
ItsNatTreeWalker.java | Class | Utility class used to easily iterate a DOM tree, specially DOM elements. |
ListElementInfo.java | Interface | Contains the DOM Element object and index of a child of a DOM element list. |
TableCellElementInfo.java | Interface | Contains the DOM Elements, row and cell, and the row and column indexes
of a cell of a DOM element table. |