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

java.lang.Object
  extended bycom.vladium.emma.report.html.doc.ISimpleElement.Factory.SimpleElementImpl
      extended bycom.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 inherited from class com.vladium.emma.report.html.doc.IElement
IElement.Factory
 
Field Summary
private static boolean DEBUG_HTML
           
protected  AttributeSet m_attrs
           
protected  java.util.List m_contents
           
protected  Tag m_tag
           
 
Constructor Summary
(package private) IElement.Factory.ElementImpl(Tag tag, AttributeSet attrs)
           
 
Method Summary
 IElementList add(IContent content)
           
 IElementList add(int index, IContent content)
           
 void emit(HTMLWriter out)
           
 AttributeSet getAttributes()
           
 Tag getTag()
           
 ISimpleElement setClass(java.lang.String classID)
           
 IElement setText(java.lang.String text, boolean nbsp)
           
 int size()
           
 java.lang.String toString()
           
 
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

m_tag

protected final Tag m_tag

m_attrs

protected final AttributeSet m_attrs
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

getTag

public Tag getTag()
Specified by:
getTag in interface ISimpleElement

setClass

public ISimpleElement setClass(java.lang.String classID)
Specified by:
setClass in interface ISimpleElement

getAttributes

public AttributeSet getAttributes()
Specified by:
getAttributes in interface ISimpleElement