|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacoco.report.xml.XMLElement
org.jacoco.report.xml.XMLDocument
org.jacoco.report.html.HTMLDocument
public class HTMLDocument
XMLDocument
that declares its content type to be XHTML 1.0 Strict and
produces HTMLElement
s as children.
Field Summary |
---|
Fields inherited from class org.jacoco.report.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.xml.XMLDocument |
---|
close |
Methods inherited from class org.jacoco.report.xml.XMLElement |
---|
addChildElement, 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 writerpublic HTMLDocument(OutputStream output, String encoding) throws IOException
output
- stream for content outputencoding
- document encoding
IOException
- in case of problems with the streamMethod Detail |
---|
public HTMLElement element(String name) throws IOException
XMLElement
element
in class XMLElement
name
- name of the child element
IOException
- in case of problems with the writerpublic HTMLElement head() throws IOException
IOException
- in case of problems with the writerpublic 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 |