public class Report extends XMLWriter implements ErrorHandler
Report
class writes an XML file that reports the results of validating a set of WSDL files.Constructor and Description |
---|
Report(PrintWriter out)
Constructs a
Report writer. |
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) |
beginElement, beginElement, close, element, emptyElement, endAllElements, endElement, escape, lookup, register, write, write, write, write, write, xmlDeclaration
public Report(PrintWriter out)
Report
writer.out
- the output writer or nullpublic static Report openReport(File report)
report
- the reort filepublic void closeReport()
public void beginReport()
public void endReport()
public void beginWsdl(String uri)
public void endWsdl()
public void warning(ErrorInfo errorInfo)
warning
in interface ErrorHandler
public void error(ErrorInfo errorInfo)
error
in interface ErrorHandler
public void fatalError(ErrorInfo errorInfo)
fatalError
in interface ErrorHandler
public void write(String tag, ErrorLocator errorLocator)
Copyright © 2005–2018 Apache Software Foundation. All rights reserved.