Class HTMLNewLineHandler

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Set<java.lang.String> newLineTags  
    • Constructor Summary

      Constructors 
      Constructor Description
      HTMLNewLineHandler()
      Default constructor
    • 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
    • Field Detail

      • newLineTags

        private final java.util.Set<java.lang.String> newLineTags
    • Constructor Detail

      • HTMLNewLineHandler

        public HTMLNewLineHandler()
        Default constructor
        Since:
        5.0.6
    • 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.