com.jcoverage.reporting.html
Class Html

java.lang.Object
  extended bycom.jcoverage.reporting.html.HtmlElement
      extended bycom.jcoverage.reporting.html.HtmlBlockElement
          extended bycom.jcoverage.reporting.html.Html
All Implemented Interfaces:
Writable

public class Html
extends HtmlBlockElement


Field Summary
(package private)  Body body
           
(package private)  Head head
           
(package private) static org.apache.log4j.Logger logger
           
 
Fields inherited from class com.jcoverage.reporting.html.HtmlBlockElement
writables
 
Fields inherited from class com.jcoverage.reporting.html.HtmlElement
tag
 
Constructor Summary
Html()
           
 
Method Summary
 void add(java.lang.String pcdata)
           
 void add(Writable writable)
           
 Body getBody()
           
 Head getHead()
           
 void setTitle(java.lang.String title)
           
 void writeTo(java.io.PrintWriter writer)
          Writes this HTML document to the given writer.
 
Methods inherited from class com.jcoverage.reporting.html.HtmlBlockElement
closeBlock, getWritables, openBlock, writeWritables
 
Methods inherited from class com.jcoverage.reporting.html.HtmlElement
closeElement, getTag, openElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger

head

Head head

body

Body body
Constructor Detail

Html

public Html()
Method Detail

getHead

public Head getHead()

getBody

public Body getBody()

setTitle

public void setTitle(java.lang.String title)

add

public void add(Writable writable)
Overrides:
add in class HtmlBlockElement

add

public void add(java.lang.String pcdata)

writeTo

public void writeTo(java.io.PrintWriter writer)
Writes this HTML document to the given writer. Since this would always finish the output, the writer is closed afterwards.

Specified by:
writeTo in interface Writable
Overrides:
writeTo in class HtmlBlockElement