Class ValidatorErrorWriter

java.lang.Object
org.openstreetmap.josm.io.XmlWriter
org.openstreetmap.josm.io.ValidatorErrorWriter
All Implemented Interfaces:
Closeable, AutoCloseable

public class ValidatorErrorWriter extends XmlWriter
Class to write a collection of validator errors out to XML. The format is inspired by the Osmose API issues file format
Since:
12667
  • Constructor Details

  • Method Details

    • write

      public void write(Collection<TestError> validationErrors) throws IOException
      Write validator errors to designated output target
      Parameters:
      validationErrors - Test error collection to write
      Throws:
      IOException - in case of I/O error