org.apache.woden.ant

## Class Report

- java.lang.Object
- - org.apache.woden.ant.XMLWriter
  - - org.apache.woden.ant.Report

- All Implemented Interfaces:
    ErrorHandler

      public class Report
      extends XMLWriter
      implements ErrorHandler

  The `Report` class writes an XML file that reports the results of validating a set of WSDL files.
  Author:
    Arthur Ryman (ryman@ca.ibm.com, arthur.ryman@gmail.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Report(PrintWriter out)` Constructs a `Report` writer.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `beginReport()`
    `void` | `beginWsdl(String uri)`
    `void` | `closeReport()` Ends the report and closes the output writer.
    `void` | `endReport()`
    `void` | `endWsdl()`
    `void` | `error(ErrorInfo errorInfo)`
    `void` | `fatalError(ErrorInfo errorInfo)`
    `static Report` | `openReport(File report)` Creates a report writer and writes the document root.
    `void` | `warning(ErrorInfo errorInfo)`
    `void` | `write(String tag, ErrorInfo errorInfo)`
    `void` | `write(String tag, ErrorLocator errorLocator)`
    `void` | `write(String tag, Exception e)`

    - ### Methods inherited from class org.apache.woden.ant.XMLWriter

      `beginElement, beginElement, close, element, emptyElement, endAllElements, endElement, escape, lookup, register, write, write, write, write, write, xmlDeclaration`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Report

          public Report(PrintWriter out)

      Constructs a `Report` writer.
      Parameters:
        `out` - the output writer or null

  - ### Method Detail

    - #### openReport

          public static Report openReport(File report)

      Creates a report writer and writes the document root.
      Parameters:
        `report` - the reort file
      Returns:
        the report writer

    - #### closeReport

          public void closeReport()

      Ends the report and closes the output writer.

    - #### beginReport

          public void beginReport()

    - #### endReport

          public void endReport()

    - #### beginWsdl

          public void beginWsdl(String uri)

    - #### endWsdl

          public void endWsdl()

    - #### warning

          public void warning(ErrorInfo errorInfo)

      Specified by:
        `warning` in interface `ErrorHandler`

    - #### error

          public void error(ErrorInfo errorInfo)

      Specified by:
        `error` in interface `ErrorHandler`

    - #### fatalError

          public void fatalError(ErrorInfo errorInfo)

      Specified by:
        `fatalError` in interface `ErrorHandler`

    - #### write

          public void write(String tag,
                   ErrorInfo errorInfo)

    - #### write

          public void write(String tag,
                   ErrorLocator errorLocator)

    - #### write

          public void write(String tag,
                   Exception e)

Copyright ? Apache Software Foundation. All Rights Reserved.