Package com.io7m.waxmill.xml.utilities

# Class WXMParserUtilities

java.lang.Object
com.io7m.waxmill.xml.utilities.WXMParserUtilities

    public final class WXMParserUtilities
    extends java.lang.Object

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `static WXMParseError` | `mapBlackthorneError​(com.io7m.blackthorne.api.BTParseError btError)` |
  `static WXMParseErrorType.Severity` | `mapSeverity​(com.io7m.blackthorne.api.BTParseErrorType.Severity severity)` |
  `static void` | `publishError​(WXMParseError error, java.util.function.Consumer<WXMParseError> errors, org.slf4j.Logger logger)` |
  `static java.lang.String` | `safeMessage​(java.lang.Exception e)` |

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### safeMessage

    public static java.lang.String safeMessage​(java.lang.Exception e)

  - ### mapSeverity

    public static WXMParseErrorType.Severity mapSeverity​(com.io7m.blackthorne.api.BTParseErrorType.Severity severity)

  - ### publishError

    public static void publishError​(WXMParseError error, java.util.function.Consumer<WXMParseError> errors, org.slf4j.Logger logger)

  - ### mapBlackthorneError

    public static WXMParseError mapBlackthorneError​(com.io7m.blackthorne.api.BTParseError btError)