FileDocCategorySizeDatePackage
ElementList.javaAPI DocAndroid 1.5 API2018Wed May 06 22:41:16 BST 2009com.vladium.emma.report.html.doc

ElementList

public final class ElementList extends Object implements IElementList
element list that is not necessarily an element itself
author
Vlad Roubtsov, (C) 2003

Fields Summary
private final List
m_contents
Constructors Summary
public ElementList()

        m_contents = new ArrayList ();
    
Methods Summary
public IElementListadd(IContent content)

        if (content != null)
        {
            m_contents.add (content);
        }
        
        return this;
    
public IElementListadd(int index, IContent content)

        if (content != null)
        {
            m_contents.add (index, content);
        }
        
        return this;
    
public voidemit(HTMLWriter out)

        for (Iterator c = m_contents.iterator (); c.hasNext (); )
        {
            final IContent content = (IContent) c.next ();
            content.emit (out);
        }
    
public intsize()

        return m_contents.size ();