Class StrictEncoder

java.lang.Object
com.atlassian.jira.render.StrictEncoder
All Implemented Interfaces:
Encoder

@Immutable public final class StrictEncoder extends Object implements Encoder
Encoder that encodes everything.
Since:
v5.0.4
  • Constructor Details

    • StrictEncoder

      public StrictEncoder()
  • Method Details

    • encodeForHtml

      @Nonnull public String encodeForHtml(@Nullable Object input)
      Description copied from interface: Encoder
      Renders input as HTML. This method calls toString() on input in order to get its String representation. If input is null, this method returns "".
      Specified by:
      encodeForHtml in interface Encoder
      Parameters:
      input - a String
      Returns:
      a String that is encoded for HTML