Constructor and Description |
---|
SwitchingEncoder(ApplicationProperties applicationProperties) |
Modifier and Type | Method and Description |
---|---|
protected Encoder |
createEncoder() |
String |
encodeForHtml(Object input)
Renders
input as HTML. |
public SwitchingEncoder(ApplicationProperties applicationProperties)
@Nonnull public String encodeForHtml(@Nullable Object input)
Encoder
input
as HTML. This method calls toString() on input
in order to get its
String representation. If input
is null, this method returns "".encodeForHtml
in interface Encoder
input
- a StringCopyright © 2002-2021 Atlassian. All Rights Reserved.