org.jasig.portlet.cms.service
Interface IStringCleaningService

All Known Implementing Classes:
AntiSamyStringCleaningService

public interface IStringCleaningService

IStringCleaningService is responsible for cleaning HTML content according to any configured validation rules. Implementations may remove invalid, unsafe, or undesired tags and attributes.

Version:
$Revision$
Author:
Jen Bourey, jbourey@unicon.net

Method Summary
 String getSafeContent(String content)
          Return a safe HTML string version of the provided content.
 String getTextContent(String content)
           
 

Method Detail

getSafeContent

String getSafeContent(String content)
Return a safe HTML string version of the provided content.

Parameters:
content -
Returns:

getTextContent

String getTextContent(String content)


Copyright © 2013 Jasig. All Rights Reserved.