com.vladium.emma.report.html.doc
Class IElement.Factory.ElementImpl

java.lang.Object
  extended by com.vladium.emma.report.html.doc.ISimpleElement.Factory.SimpleElementImpl
      extended by com.vladium.emma.report.html.doc.IElement.Factory.ElementImpl
All Implemented Interfaces:
IContent, IElement, IElementList, ISimpleElement
Direct Known Subclasses:
HTMLDocument, HTMLTable, HTMLTable.Cell, HTMLTable.Row, HyperRef
Enclosing class:
IElement.Factory

static class IElement.Factory.ElementImpl
extends ISimpleElement.Factory.SimpleElementImpl
implements IElement


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.vladium.emma.report.html.doc.IElement
IElement.Factory
 
Field Summary
private static boolean DEBUG_HTML
           
protected  java.util.List m_contents
           
 
Fields inherited from class com.vladium.emma.report.html.doc.ISimpleElement.Factory.SimpleElementImpl
m_attrs, m_tag
 
Constructor Summary
IElement.Factory.ElementImpl(Tag tag, AttributeSet attrs)
           
 
Method Summary
 IElementList add(IContent content)
           
 IElementList add(int index, IContent content)
           
 void emit(HTMLWriter out)
           
 IElement setText(java.lang.String text, boolean nbsp)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class com.vladium.emma.report.html.doc.ISimpleElement.Factory.SimpleElementImpl
getAttributes, getTag, setClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.vladium.emma.report.html.doc.ISimpleElement
getAttributes, getTag, setClass
 

Field Detail

m_contents

protected final java.util.List m_contents

DEBUG_HTML

private static final boolean DEBUG_HTML
See Also:
Constant Field Values
Constructor Detail

IElement.Factory.ElementImpl

IElement.Factory.ElementImpl(Tag tag,
                             AttributeSet attrs)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class ISimpleElement.Factory.SimpleElementImpl

emit

public void emit(HTMLWriter out)
Specified by:
emit in interface IContent
Overrides:
emit in class ISimpleElement.Factory.SimpleElementImpl

add

public IElementList add(IContent content)
Specified by:
add in interface IElementList

add

public IElementList add(int index,
                        IContent content)
Specified by:
add in interface IElementList

size

public int size()
Specified by:
size in interface IElementList

setText

public IElement setText(java.lang.String text,
                        boolean nbsp)
Specified by:
setText in interface IElement