Class PrintStreamMessageHandler

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.PrintStream err  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(XmlException entry)
      Handle an XML message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • err

        private final java.io.PrintStream err
    • Constructor Detail

      • PrintStreamMessageHandler

        public PrintStreamMessageHandler​(java.io.PrintStream err)
    • Method Detail

      • accept

        public void accept​(XmlException entry)
        Description copied from interface: XmlMessageHandler
        Handle an XML message. May throw, ignore, or print to an external stream.
        Specified by:
        accept in interface XmlMessageHandler
        Parameters:
        entry - Message to handle