|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.report.internal.xml.XMLElement
org.jacoco.report.internal.xml.XMLDocument
org.jacoco.report.internal.html.HTMLDocument
public class HTMLDocument
XMLDocument that declares its content type to be XHTML 1.0 Strict and
produces HTMLElements as children.
| Field Summary |
|---|
| Fields inherited from class org.jacoco.report.internal.xml.XMLElement |
|---|
writer |
| Constructor Summary | |
|---|---|
HTMLDocument(OutputStream output,
String encoding)
Creates a new HTML document based on the given stream. |
|
HTMLDocument(Writer writer,
String encoding)
Creates a new HTML document based on the given writer. |
|
| Method Summary | |
|---|---|
HTMLElement |
body()
Creates a 'body' element. |
HTMLElement |
element(String name)
Creates a new child element for this element, |
HTMLElement |
head()
Creates a 'head' element. |
| Methods inherited from class org.jacoco.report.internal.xml.XMLDocument |
|---|
close |
| Methods inherited from class org.jacoco.report.internal.xml.XMLElement |
|---|
addChildElement, attr, attr, attr, beginOpenTag, text |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLDocument(Writer writer,
String encoding)
throws IOException
writer - writer for content outputencoding - document encoding
IOException - in case of problems with the writer
public HTMLDocument(OutputStream output,
String encoding)
throws IOException
output - stream for content outputencoding - document encoding
IOException - in case of problems with the stream| Method Detail |
|---|
public HTMLElement element(String name)
throws IOException
XMLElement
element in class XMLElementname - name of the child element
IOException - in case of problems with the writer
public HTMLElement head()
throws IOException
IOException - in case of problems with the writer
public HTMLElement body()
throws IOException
IOException - in case of problems with the writer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||