Interface NewLineHandler

All Known Implementing Classes:
HTMLNewLineHandler, NeverNewLineHandler

public interface NewLineHandler
A NewLineHandler determines if an encountered tag should result in a new line in a document.
Since:
5.0.6
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
  • Method Details

    • isNewLineTag

      boolean isNewLineTag(String tag)
      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.
      Since:
      5.0.6