lumis.portal.htmlevaluation
Class HtmlEvaluationMessage

Package class diagram package HtmlEvaluationMessage
java.lang.Object
  extended by lumis.portal.htmlevaluation.HtmlEvaluationMessage

public class HtmlEvaluationMessage
extends Object

Representation of a Message created by Tidy API. This

Since:
6.0.0

Nested Class Summary
static class HtmlEvaluationMessage.Level
          Level of the Message.
 
Constructor Summary
HtmlEvaluationMessage(int errorCode, int line, int column, HtmlEvaluationMessage.Level level, String message)
          Constructor.
HtmlEvaluationMessage(org.w3c.tidy.TidyMessage tidyMessage)
          Constructor.
 
Method Summary
 int getColumn()
          Returns the column.
 int getErrorCode()
          Returns the errorCode.
 HtmlEvaluationMessage.Level getLevel()
          Returns the level.
 int getLine()
          Returns the line.
 String getMessage()
          Returns the message.
 void setColumn(int column)
          Sets the column.
 void setErrorCode(int errorCode)
          Sets the errorCode.
 void setLevel(HtmlEvaluationMessage.Level level)
          Sets the level.
 void setLine(int line)
          Sets the line.
 void setMessage(String message)
          Sets the message.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HtmlEvaluationMessage

public HtmlEvaluationMessage(org.w3c.tidy.TidyMessage tidyMessage)
Constructor.

Parameters:
tidyMessage - a Tidy Message Object.
Since:
6.0.0

HtmlEvaluationMessage

public HtmlEvaluationMessage(int errorCode,
                             int line,
                             int column,
                             HtmlEvaluationMessage.Level level,
                             String message)
Constructor.

Parameters:
errorCode - Error code.
line - line where was found the problem.
column - column where was found the problem.
level - level of the problem.
message - Message.
Since:
6.0.0
Method Detail

setErrorCode

public void setErrorCode(int errorCode)
Sets the errorCode.

Parameters:
errorCode - the errorCode value to set.
Since:
6.0.0

getErrorCode

public int getErrorCode()
Returns the errorCode.

Returns:
the errorCode
Since:
6.0.0

setLine

public void setLine(int line)
Sets the line.

Parameters:
line - the line value to set.
Since:
6.0.0

getLine

public int getLine()
Returns the line.

Returns:
the line
Since:
6.0.0

setColumn

public void setColumn(int column)
Sets the column.

Parameters:
column - the column value to set.
Since:
6.0.0

getColumn

public int getColumn()
Returns the column.

Returns:
the column
Since:
6.0.0

setLevel

public void setLevel(HtmlEvaluationMessage.Level level)
Sets the level.

Parameters:
level - the level value to set.
Since:
6.0.0

getLevel

public HtmlEvaluationMessage.Level getLevel()
Returns the level.

Returns:
the level
Since:
6.0.0

setMessage

public void setMessage(String message)
Sets the message.

Parameters:
message - the message value to set.
Since:
6.0.0

getMessage

public String getMessage()
Returns the message.

Returns:
the message
Since:
6.0.0

toString

public String toString()
Overrides:
toString in class Object


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.