public class ValidatorErrorWriter extends XmlWriter
| Modifier and Type | Class and Description |
|---|---|
private static class |
ValidatorErrorWriter.ErrorClass |
| Constructor and Description |
|---|
ValidatorErrorWriter(java.io.OutputStream out)
Constructs a new
ValidatorErrorWriter that will write to a given OutputStream. |
ValidatorErrorWriter(java.io.PrintWriter out)
Constructs a new
ValidatorErrorWriter that will write to the given PrintWriter. |
| Modifier and Type | Method and Description |
|---|---|
void |
write(java.util.Collection<TestError> validationErrors)
Write validator errors to designated output target
|
public ValidatorErrorWriter(java.io.PrintWriter out)
ValidatorErrorWriter that will write to the given PrintWriter.out - PrintWriter to write XML topublic ValidatorErrorWriter(java.io.OutputStream out)
ValidatorErrorWriter that will write to a given OutputStream.out - OutputStream to write XML to