org.cateproject.controller.sanitize
Class AntiSamyServiceImpl
java.lang.Object
org.cateproject.controller.sanitize.AntiSamyServiceImpl
- All Implemented Interfaces:
- AntiSamyService
@Component
public class AntiSamyServiceImpl
- extends Object
- implements AntiSamyService
|
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
AntiSamyServiceImpl
public AntiSamyServiceImpl()
setPolicyFile
public void setPolicyFile(org.springframework.core.io.Resource policyFile)
sanitize
public String sanitize(String comment,
String field,
org.springframework.validation.Errors errors)
- Specified by:
sanitize in interface AntiSamyService
Copyright © 2010. All Rights Reserved.