public class XMLValidationReportSerializer extends Object implements ValidationReportSerializer
ValidationReportSerializer
for XML.| Modifier and Type | Class and Description |
|---|---|
static interface |
XMLValidationReportSerializer.NodeName
Allows to specify a custom node name.
|
| Constructor and Description |
|---|
XMLValidationReportSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(ValidationReport vr,
OutputStream os)
Serializes the validation report on the given output stream.
|
void |
serializeGetterValue(Object o,
Method m,
PrintStream ps) |
public void serialize(ValidationReport vr, OutputStream os) throws SerializationException
ValidationReportSerializerserialize in interface ValidationReportSerializervr - the validation report to be serialized.os - the output stream used to produce the serialization.SerializationExceptionpublic void serializeGetterValue(Object o, Method m, PrintStream ps) throws SerializationException
SerializationExceptionCopyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.