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 |
Report(java.io.PrintWriter out)
Constructs a Report writer. |
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 |
Report
public Report(java.io.PrintWriter out)
- Constructs a
Report
writer.
- Parameters:
out
- the output writer or null
openReport
public static Report openReport(java.io.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(java.lang.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(java.lang.String tag,
ErrorInfo errorInfo)
write
public void write(java.lang.String tag,
ErrorLocator errorLocator)
write
public void write(java.lang.String tag,
java.lang.Exception e)
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.