StorageFormatCleaner
and RenderedContentCleaner
instead.@Deprecated public interface XhtmlCleaner
Modifier and Type | Interface and Description |
---|---|
static class |
XhtmlCleaner.AppliedRuleDescription
Deprecated.
since 5.1.4 See
StorageFormatCleaner instead. |
static class |
XhtmlCleaner.Result
Deprecated.
since 5.1.4 See
StorageFormatCleaner instead. |
Modifier and Type | Method and Description |
---|---|
XhtmlCleaner.Result |
clean(ContentEntityObject uncleanCeo)
Deprecated.
Clean the supplied body content markup and make it safe from security concerns.
|
String |
cleanQuietly(ContentEntityObject uncleanCeo)
Deprecated.
Clean the specified body content markup and make it safe from security concerns with out reporting any clean up
performed
|
String |
cleanQuietly(String unclean)
Deprecated.
Clean the specified String.
|
String |
cleanQuietly(String unclean,
ConversionContext context)
Deprecated.
since 5.1, use
cleanQuietly(String) |
String |
cleanStyleAttribute(String uncleanStyle)
Deprecated.
Convert the supplied value of an HTML style attribute into a safe form if necessary.
|
boolean |
isCleanUrlAttribute(String urlValue)
Deprecated.
Test that the supplied value of a URL type attribute (such as href) is safe for output.
|
XhtmlCleaner.Result clean(ContentEntityObject uncleanCeo)
uncleanCeo
- a CEO containing the body content to be processed. The CEO is not modified, but the cleaned
body content is returned.String cleanQuietly(ContentEntityObject uncleanCeo)
uncleanCeo
- a CEO containing the body content to be processed. The CEO is not modified, but the cleaned
body content is returned.@Deprecated String cleanQuietly(String unclean, ConversionContext context)
cleanQuietly(String)
unclean
- the String to be cleanedcontext
- The ConversionContext that applies to the provided content.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–2020 Atlassian. All rights reserved.