java.lang.Object | |
↳ | com.atlassian.confluence.content.render.xhtml.PolicyConfiguredXhtmlCleaner |
A thread safe XhtmlCleaner which is configured via a policy file classpath resource.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor that will lazily load the Transformer as it is required.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clean the supplied body content markup and make it safe from security concerns.
| |||||||||||
Clean the specified body content markup and make it safe from security concerns with out reporting any clean up
performed
| |||||||||||
Clean the specified String.
| |||||||||||
Convert the supplied value of an HTML style attribute into a safe form if necessary.
| |||||||||||
Test that the supplied value of a URL type attribute (such as href) is safe for output.
|
[Expand]
Inherited Methods | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||||
From interface
com.atlassian.confluence.content.render.xhtml.XhtmlCleaner
|
Constructor that will lazily load the Transformer as it is required.
policyResource | the resource file holding the security policy. |
---|
Clean the supplied body content markup and make it safe from security concerns.
uncleanCeo | a CEO containing the body content to be processed. The CEO is not modified, but the cleaned body content is returned. |
---|
Clean the specified body content markup and make it safe from security concerns with out reporting any clean up performed
uncleanCeo | a CEO containing the body content to be processed. The CEO is not modified, but the cleaned body content is returned. |
---|
Clean the specified String.
unclean | the String to be cleaned |
---|---|
context | The ConversionContext that applies to the provided content. |
Convert the supplied value of an HTML style attribute into a safe form if necessary. If the result of the safety checking results in no properties remaining then it is possible that an empty String will be returned.
uncleanStyle | the style attribute value to be cleaned |
---|
Test that the supplied value of a URL type attribute (such as href) is safe for output.