Class NeverNewLineHandler

  • All Implemented Interfaces:
    NewLineHandler

    public class NeverNewLineHandler
    extends java.lang.Object
    implements NewLineHandler
    Always returns false.
    Since:
    5.0.6
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isNewLineTag​(java.lang.String tag)  
      • Methods inherited from class java.lang.Object

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

      • NeverNewLineHandler

        public NeverNewLineHandler()
    • Method Detail

      • isNewLineTag

        public boolean isNewLineTag​(java.lang.String tag)
        Specified by:
        isNewLineTag in interface NewLineHandler
        Parameters:
        tag - the tag to check if after this one a new line should be in a document
        Returns:
        true in case a new line should be added.