com.vladium.emma.report.html.doc
Class HyperRef

java.lang.Object
  extended bycom.vladium.emma.report.html.doc.ISimpleElement.Factory.SimpleElementImpl
      extended bycom.vladium.emma.report.html.doc.IElement.Factory.ElementImpl
          extended bycom.vladium.emma.report.html.doc.HyperRef
All Implemented Interfaces:
IContent, IElement, IElementList, ISimpleElement

public class HyperRef
extends IElement.Factory.ElementImpl

Author:
Vlad Roubtsov, (C) 2003

Nested Class Summary
 
Nested classes inherited from class com.vladium.emma.report.html.doc.IElement
IElement.Factory
 
Field Summary
protected  AttributeSet m_attrs
           
protected  java.util.List m_contents
           
protected  Tag m_tag
           
 
Constructor Summary
HyperRef(java.lang.String href, java.lang.String text, boolean nbsp)
           
 
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

m_tag

protected final Tag m_tag

m_attrs

protected final AttributeSet m_attrs
Constructor Detail

HyperRef

public HyperRef(java.lang.String href,
                java.lang.String text,
                boolean nbsp)
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