ElementListpublic final class ElementList extends Object implements IElementListelement list that is not necessarily an element itself |
Fields Summary |
---|
private final List | m_contents |
Constructors Summary |
---|
public ElementList()
m_contents = new ArrayList ();
|
Methods Summary |
---|
public IElementList | add(IContent content)
if (content != null)
{
m_contents.add (content);
}
return this;
| public IElementList | add(int index, IContent content)
if (content != null)
{
m_contents.add (index, content);
}
return this;
| public void | emit(HTMLWriter out)
for (Iterator c = m_contents.iterator (); c.hasNext (); )
{
final IContent content = (IContent) c.next ();
content.emit (out);
}
| public int | size()
return m_contents.size ();
|
|