public interface RenderedContentCleaner
Modifier and Type | Method and Description |
---|---|
String |
cleanQuietly(String unclean)
Clean the specified String.
|
String |
cleanStyleAttribute(String uncleanStyle)
Convert the supplied value of an HTML style attribute into a safe form if necessary.
|
boolean |
isCleanUrlAttribute(String urlValue)
Test that the supplied value of a URL type attribute (such as href) is safe for output.
|
String cleanQuietly(String unclean)
unclean
- the String to be cleanedString cleanStyleAttribute(String uncleanStyle)
uncleanStyle
- the style attribute value to be cleanedboolean isCleanUrlAttribute(String urlValue)
urlValue
- Copyright © 2003–2021 Atlassian. All rights reserved.