DhElement | +--DhBaseContainerpublic abstract class DhBaseContainer
Represents the base class for all container elements. This class should be derived from but never instantiated itself.
Methods
Name | Description |
---|---|
ensureElemsComplete() | Ensures that the m_elems collection is fully populated from peers. |
getAllElements() | Recursively returns all child elements and their children. |
getElementCount() | Topic under construction. |
getElements() | Returns the child elements of this element. |
getMatchingChildElements( String strQuery, boolean fRecursive ) | Retrieves an enumeration of the child elements that conform to the contraints of strQuery. |
setDocument( DhDocument document ) | Topic under construction. |
setHTMLGenerator( DhHTMLGenerator htmlGen ) | Topic under construction. |
Ensures that the m_elems collection is fully populated from peers. If the DhSection was created using findElement then we may have deferred creating DhElement derived instances for all the section's contents (that is, we may have only the ones explicitly added if any).
This method fully populates the m_elems array (but just one level down, not recursively).
Returns An array of all child elements
Recursively returns all child elements and their children.
Topic under construction.
Returns An array of direct child elements.
Returns the child elements of this element.
<predicate>=<query>
where
<predicate> ::= (style | attr | tag : <name>)|tag (=|<>) (* |'<value>')
<query> ::= {(} <predicate> { ( AND | OR ) <query> ) }
Queries are not case sensitive. A value of '*' indicates all elements where a non-null value of the specific type is present.
Returns the enumeration of elements which conform to the query
Retrieves an enumeration of the child elements that conform to the contraints of strQuery. The folowing are examples of queries:
DhQueryParseException When the query is not properly formed.
Topic under construction.
Topic under construction.