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.
Constructor and Description |
---|
HtmlEvaluationManager() |
Modifier and Type | Method and 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.
|
public List<HtmlEvaluationMessage> evaluate(HtmlEvaluationMessage.Level level, URL url, String userSessionId) throws UnexpectedException
userSessionId
can be null. Otherwise, the userSessionId
must be informed.evaluate
in interface IHtmlEvaluationManager
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.UnexpectedException
public List<HtmlEvaluationMessage> evaluate(HtmlEvaluationMessage.Level level, String html)
evaluate
in interface IHtmlEvaluationManager
level
- Minimal level to be considered.html
- HTML content to be evaluated.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.