com.amazonaws.mturk.addon
Class XhtmlValidator

java.lang.Object
  extended by com.amazonaws.mturk.addon.XhtmlValidator

public class XhtmlValidator
extends java.lang.Object


Field Summary
protected static Logger log
           
 
Constructor Summary
XhtmlValidator()
           
 
Method Summary
static java.lang.String validateAndClean(java.lang.String content)
          validateAndClean validates the content against the FormattedContentXHTMLSubset.xsd and removes comments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Logger log
Constructor Detail

XhtmlValidator

public XhtmlValidator()
Method Detail

validateAndClean

public static java.lang.String validateAndClean(java.lang.String content)
                                         throws ValidationException
validateAndClean validates the content against the FormattedContentXHTMLSubset.xsd and removes comments

Parameters:
content -
requester -
Returns:
Throws:
XHTMLParseErrorException
ValidationException