|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StorageFormatCleaner
Nested Class Summary | |
---|---|
static class |
StorageFormatCleaner.AppliedRuleDescription
A description of a rule that was applied during the cleaning of content. |
static class |
StorageFormatCleaner.Result
The complete results of a clean up operation. |
Method Summary | |
---|---|
StorageFormatCleaner.Result |
cleanEntity(ContentEntityObject uncleanCeo)
Clean the supplied body content markup and make it safe from security concerns. |
java.lang.String |
cleanQuietly(ContentEntityObject uncleanCeo)
Clean the specified body content markup and make it safe from security concerns with out reporting any clean up performed |
java.lang.String |
cleanQuietly(java.lang.String unclean)
Clean the specified String. |
java.lang.String |
cleanQuietly(java.lang.String unclean,
ConversionContext context)
Deprecated. since 5.1, use cleanQuietly(String) |
java.lang.String |
cleanStyleAttribute(java.lang.String uncleanStyle)
Convert the supplied value of an HTML style attribute into a safe form if necessary. |
boolean |
isCleanUrlAttribute(java.lang.String urlValue)
Test that the supplied value of a URL type attribute (such as href) is safe for output. |
Method Detail |
---|
StorageFormatCleaner.Result cleanEntity(ContentEntityObject uncleanCeo)
uncleanCeo
- a CEO containing the body content to be processed. The CEO is not modified, but the cleaned
body content is returned.
java.lang.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 java.lang.String cleanQuietly(java.lang.String unclean, ConversionContext context)
cleanQuietly(String)
unclean
- the String to be cleanedcontext
- The ConversionContext that applies to the provided content.
java.lang.String cleanQuietly(java.lang.String unclean)
unclean
- the String to be cleaned
java.lang.String cleanStyleAttribute(java.lang.String uncleanStyle)
uncleanStyle
- the style attribute value to be cleaned
boolean isCleanUrlAttribute(java.lang.String urlValue)
urlValue
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |