lumis.portal.htmlevaluation
Class HtmlEvaluationManager

Package class diagram package HtmlEvaluationManager
java.lang.Object
  extended by lumis.portal.htmlevaluation.HtmlEvaluationManager
All Implemented Interfaces:
IHtmlEvaluationManager

public class HtmlEvaluationManager
extends java.lang.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

Constructor Summary
HtmlEvaluationManager()
           
 
Method Summary
 java.util.List<HtmlEvaluationMessage> evaluate(HtmlEvaluationMessage.Level level, java.lang.String html)
          Makes the Evaluation for a HTML content passed as parameter.
 java.util.List<HtmlEvaluationMessage> evaluate(HtmlEvaluationMessage.Level level, java.net.URL url, java.lang.String userSessionId)
          Makes the Evaluation for a specific URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlEvaluationManager

public HtmlEvaluationManager()
Method Detail

evaluate

public java.util.List<HtmlEvaluationMessage> evaluate(HtmlEvaluationMessage.Level level,
                                                      java.net.URL url,
                                                      java.lang.String userSessionId)
                                               throws java.rmi.UnexpectedException
Makes the Evaluation for a specific URL. If the URL is an external URL, the userSessionId can be null. Otherwise, the userSessionId must be informed.

Specified by:
evaluate in interface IHtmlEvaluationManager
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:
java.rmi.UnexpectedException
Since:
6.0.0

evaluate

public java.util.List<HtmlEvaluationMessage> evaluate(HtmlEvaluationMessage.Level level,
                                                      java.lang.String html)
Makes the Evaluation for a HTML content passed as parameter.

Specified by:
evaluate in interface IHtmlEvaluationManager
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


Lumisportal  6.1.0.111014 - Copyright © 2001-2007, Lumis. All Rights Reserved.