|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XhtmlCleaner
Responsible for cleaning supplied XHTML content into a form that is balanced and free of any insecure markup.
| Nested Class Summary | |
|---|---|
static class |
XhtmlCleaner.AppliedRuleDescription
A description of a rule that was applied during the cleaning of content. |
static class |
XhtmlCleaner.Result
The complete results of a clean up operation. |
| Method Summary | |
|---|---|
XhtmlCleaner.Result |
clean(ContentEntityObject uncleanCeo)
Clean the supplied body content markup and make it safe from security concerns. |
String |
cleanQuietly(ContentEntityObject uncleanCeo)
Clean the specified body content markup and make it safe from security concerns with out reporting any clean up performed |
String |
cleanQuietly(String unclean,
ConversionContext context)
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. |
| Method Detail |
|---|
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.
String cleanQuietly(String unclean,
ConversionContext context)
unclean - the String to be cleanedcontext - The ConversionContext that applies to the provided content.
String cleanStyleAttribute(String uncleanStyle)
uncleanStyle - the style attribute value to be cleaned
boolean isCleanUrlAttribute(String urlValue)
urlValue -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||