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
ValidationReportSerializer
serialize
in interface ValidationReportSerializer
vr
- the validation report to be serialized.os
- the output stream used to produce the serialization.SerializationException
public void serializeGetterValue(Object o, Method m, PrintStream ps) throws SerializationException
SerializationException
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.