public class CleanResults extends Object
errorMessages
) will let the user
know what, if any HTML errors existed, and what, if any, security or
validation-related errors existed, and what was done about them.Constructor and Description |
---|
CleanResults() |
CleanResults(long startOfScan,
Callable<String> cleanHTML,
DocumentFragment XMLDocumentFragment,
List<String> errorMessages) |
CleanResults(long startOfScan,
String cleanHTML,
DocumentFragment XMLDocumentFragment,
List<String> errorMessages) |
Modifier and Type | Method and Description |
---|---|
String |
getCleanHTML()
Return the filtered HTML as a String.
|
DocumentFragment |
getCleanXMLDocumentFragment() |
List<String> |
getErrorMessages()
Return a list of error messages.
|
int |
getNumberOfErrors()
Return the number of errors encountered during filtering.
|
double |
getScanTime()
Return the time elapsed during the scan.
|
public CleanResults()
public CleanResults(long startOfScan, String cleanHTML, DocumentFragment XMLDocumentFragment, List<String> errorMessages)
public CleanResults(long startOfScan, Callable<String> cleanHTML, DocumentFragment XMLDocumentFragment, List<String> errorMessages)
public DocumentFragment getCleanXMLDocumentFragment()
public String getCleanHTML()
public List<String> getErrorMessages()
public double getScanTime()
public int getNumberOfErrors()
Copyright © 2019. All rights reserved.