# Class XSMessageListener

java.lang.Object
com.io7m.xstructural.vanilla.internal.XSMessageListener

All Implemented Interfaces:
  `Closeable, AutoCloseable, net.sf.saxon.s9api.MessageListener2`

public final class XSMessageListener extends Object implements net.sf.saxon.s9api.MessageListener2, Closeable
A message listener.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `void`
  `message(net.sf.saxon.s9api.XdmNode content, net.sf.saxon.s9api.QName errorCode, boolean terminate, SourceLocator locator)`

  ### Methods inherited from class Object

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

- ## Method Details

  - ### message

    public void message(net.sf.saxon.s9api.XdmNode content, net.sf.saxon.s9api.QName errorCode, boolean terminate, SourceLocator locator)
    Specified by:
      `message` in interface `net.sf.saxon.s9api.MessageListener2`

  - ### close

    public void close() throws IOException
    Specified by:
      `close` in interface `AutoCloseable`
    Specified by:
      `close` in interface `Closeable`
    Throws:
      `IOException`