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, xmlDeclarationpublic 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 ErrorHandlerpublic void error(ErrorInfo errorInfo)
error in interface ErrorHandlerpublic void fatalError(ErrorInfo errorInfo)
fatalError in interface ErrorHandlerpublic void write(String tag, ErrorLocator errorLocator)
Copyright ? Apache Software Foundation. All Rights Reserved.