Interface ValidationResultFormatter
-
public interface ValidationResultFormatter
SPI which can be implemented to print out a summary of a validation result. SeeValidationResults.write(StringWriter, ValidationResultFormatter)
- Since:
- 7.6
- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
formatElement(java.io.StringWriter writer, ModelElementInstance element)
formats an element in the summaryvoid
formatResult(java.io.StringWriter writer, ValidationResult result)
formats a validation result
-
-
-
Method Detail
-
formatElement
void formatElement(java.io.StringWriter writer, ModelElementInstance element)
formats an element in the summary- Parameters:
writer
- the writerelement
- the element to write
-
formatResult
void formatResult(java.io.StringWriter writer, ValidationResult result)
formats a validation result- Parameters:
writer
- the writerresult
- the result to format
-
-