com.atlassian.jira.render
Class StrictEncoder

java.lang.Object
  extended by 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 Summary
StrictEncoder()
           
 
Method Summary
 String encodeForHtml(Object input)
          Renders input as HTML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrictEncoder

public StrictEncoder()
Method Detail

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.