FileDocCategorySizeDatePackage
Container.javaAPI DocGlassfish v2 API3092Fri May 04 22:34:48 BST 2007com.sun.enterprise.diagnostics.report.html

Container

public interface Container implements HTMLComponent
A container holds other nodes. For example, an HTML element is a container which can hold attributes, comments, processing instructions, text nodes, and other elements.

Fields Summary
Constructors Summary
Methods Summary
public voidadd(HTMLComponent node)
Add the node to the end of this container.

param
node The node to add.

public java.util.Listchildren()
Get all children of this element.

return
The list of all children.
see
HTMLComponent

public voiddelete(HTMLComponent node)
Remove the specified node from this container. If the node is not present, nothing is done.

param
node The node to remove.
return
This container.

public java.util.Listget(java.lang.Class type)
Filter out children of a specific type.

param
type The class object for the objects to filter.
return
The list of all objects matching the type.