Package lumis.portal.htmlevaluation
Class HtmlEvaluationManager
- java.lang.Object
-
- lumis.portal.htmlevaluation.HtmlEvaluationManager
-
- All Implemented Interfaces:
IHtmlEvaluationManager
public class HtmlEvaluationManager extends Object implements IHtmlEvaluationManager
#IHtmlEvaluationManager
implementation that allows to evaluate an URL or HTML content according with the accessibility roles.For evaluation of an URL, its possible evaluate, both External URL and Portal URL.
For Portal URL, is necessary to inform the user session ID.- Since:
- 6.0.0
- Version:
- $Revision: 13093 $ $Date: 2011-05-28 18:40:18 -0300 (Sat, 28 May 2011) $
-
-
Constructor Summary
Constructors Constructor Description HtmlEvaluationManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<HtmlEvaluationMessage>
evaluate(HtmlEvaluationMessage.Level level, String html)
Makes the Evaluation for a HTML content passed as parameter.List<HtmlEvaluationMessage>
evaluate(HtmlEvaluationMessage.Level level, URL url, String userSessionId)
Makes the Evaluation for a specific URL.
-
-
-
Method Detail
-
evaluate
public List<HtmlEvaluationMessage> evaluate(HtmlEvaluationMessage.Level level, URL url, String userSessionId) throws UnexpectedException
Makes the Evaluation for a specific URL. If the URL is an external URL, theuserSessionId
can be null. Otherwise, the userSessionId must be informed.- Specified by:
evaluate
in interfaceIHtmlEvaluationManager
- Parameters:
level
- Minimal level to be considered.url
- URL to be evaluated.userSessionId
- user session ID. This information can be null if the URL is a external URL.- Returns:
- list of messages founded for the URL.
- Throws:
UnexpectedException
- Since:
- 6.0.0
-
evaluate
public List<HtmlEvaluationMessage> evaluate(HtmlEvaluationMessage.Level level, String html)
Makes the Evaluation for a HTML content passed as parameter.- Specified by:
evaluate
in interfaceIHtmlEvaluationManager
- Parameters:
level
- Minimal level to be considered.html
- HTML content to be evaluated.- Returns:
- list of messages founded for the URL.
- Since:
- 6.0.0
-
-