Class XMLGroupVisitor

    • Field Detail

      • element

        protected final ReportElement element
        XML element of this group
    • Constructor Detail

      • XMLGroupVisitor

        public XMLGroupVisitor​(ReportElement element,
                               java.lang.String name)
                        throws java.io.IOException
        New handler for a group with the given name.
        Parameters:
        element - XML-Element representing this coverage node. The start tag must not be closed yet to allow adding additional attributes.
        name - name of the group
        Throws:
        java.io.IOException - in case of problems with the underlying writer
    • Method Detail

      • handleGroup

        protected AbstractGroupVisitor handleGroup​(java.lang.String name)
                                            throws java.io.IOException
        Description copied from class: AbstractGroupVisitor
        Called to handle a group with the given name in a specific way.
        Specified by:
        handleGroup in class AbstractGroupVisitor
        Parameters:
        name - name of the group
        Returns:
        created child group
        Throws:
        java.io.IOException - if the report can't be written
      • handleEnd

        protected void handleEnd()
                          throws java.io.IOException
        Description copied from class: AbstractGroupVisitor
        Called to handle the end of this group in a specific way.
        Specified by:
        handleEnd in class AbstractGroupVisitor
        Throws:
        java.io.IOException - if the report can't be written