public class XMLGroupVisitor extends AbstractGroupVisitor
IReportGroupVisitor that transforms the report
structure into XML elements.| Modifier and Type | Field and Description |
|---|---|
protected XMLElement |
element
XML element of this group
|
total| Constructor and Description |
|---|
XMLGroupVisitor(XMLElement element,
String name)
New handler for a group with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleBundle(IBundleCoverage bundle,
ISourceFileLocator locator)
Called to handle the given bundle in a specific way.
|
protected void |
handleEnd()
Called to handle the end of this group in a specific way.
|
protected AbstractGroupVisitor |
handleGroup(String name)
Called to handle a group with the given name in a specific way.
|
visitBundle, visitEnd, visitGroupprotected final XMLElement element
public XMLGroupVisitor(XMLElement element, String name) throws IOException
element - XML-Element representing this coverage node. The start tag
must not be closed yet to allow adding additional attributes.name - name of the groupIOException - in case of problems with the underlying writerprotected void handleBundle(IBundleCoverage bundle, ISourceFileLocator locator) throws IOException
AbstractGroupVisitorhandleBundle in class AbstractGroupVisitorIOExceptionprotected AbstractGroupVisitor handleGroup(String name) throws IOException
AbstractGroupVisitorhandleGroup in class AbstractGroupVisitorIOExceptionprotected void handleEnd()
throws IOException
AbstractGroupVisitorhandleEnd in class AbstractGroupVisitorIOExceptionCopyright © 2009-2012 Mountainminds GmbH & Co. KG. All Rights Reserved.