Class LogErrors
java.lang.Object
com.foursoft.harness.navext.runtime.io.validation.LogErrors
helper class to log
LogValidator.ErrorLocation-
Method Summary
Modifier and TypeMethodDescriptionstatic StringannotateXMLContent(String xmlContent, Collection<LogValidator.ErrorLocation> errorLines) adds all error messages to the xml content
-
Method Details
-
annotateXMLContent
public static String annotateXMLContent(String xmlContent, Collection<LogValidator.ErrorLocation> errorLines) adds all error messages to the xml content- Parameters:
xmlContent- the xml content containing errorserrorLines- the detected errors- Returns:
- the annotated xml content
-