Class ElementMarkdownLogRenderer

java.lang.Object
org.jpos.log.render.markdown.ElementMarkdownLogRenderer
All Implemented Interfaces:
LogRenderer<org.jdom2.Element>

public final class ElementMarkdownLogRenderer extends Object implements LogRenderer<org.jdom2.Element>
Renders a JDOM Element as Markdown-formatted log output.
  • Constructor Details

    • ElementMarkdownLogRenderer

      Default constructor; configures the XML outputter with Unix line separators.
  • Method Details

    • render

      public void render(org.jdom2.Element o, PrintStream ps, String indent)
      Description copied from interface: LogRenderer
      Renders the given object to the print stream with the specified indentation.
      Specified by:
      render in interface LogRenderer<org.jdom2.Element>
      Parameters:
      o - the object to render
      ps - the output stream
      indent - indentation prefix
    • clazz

      public Class<?> clazz()
      Description copied from interface: LogRenderer
      Returns the class this renderer handles.
      Specified by:
      clazz in interface LogRenderer<org.jdom2.Element>
      Returns:
      the handled class
    • type

      Description copied from interface: LogRenderer
      Returns the log event type this renderer handles.
      Specified by:
      type in interface LogRenderer<org.jdom2.Element>
      Returns:
      the handled event type