Class HitRenderer

  • public abstract class HitRenderer
    extends java.lang.Object
    A helper for rendering grouping results.
    Simon Thoresen Hult
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean renderHeader​(HitGroup hit, writer)
      Renders the header for the given grouping hit.
      • Methods inherited from class java.lang.Object

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

      • HitRenderer

        public HitRenderer()
    • Method Detail

      • renderHeader

        public static boolean renderHeader​(HitGroup hit,
        Renders the header for the given grouping hit. If the hit is not a grouping hit, this method does nothing and returns false.

        Post-condition if this is a grouping hit: The hit tag is open.

        hit - The hit whose header to render.
        writer - The writer to render to.
        True if the hit was rendered.
        Throws: - Thrown if there was a problem writing.