Package lumis.portal.htmlevaluation
Class HtmlEvaluationMessage
- java.lang.Object
-
- lumis.portal.htmlevaluation.HtmlEvaluationMessage
-
public class HtmlEvaluationMessage extends Object
Representation of a Message created by Tidy API. This- Since:
- 6.0.0
- Version:
- $Revision: 13093 $ $Date: 2011-05-28 18:40:18 -0300 (Sat, 28 May 2011) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HtmlEvaluationMessage.Level
Level of the Message.
-
Constructor Summary
Constructors Constructor Description HtmlEvaluationMessage(int errorCode, int line, int column, HtmlEvaluationMessage.Level level, String message)
Constructor.HtmlEvaluationMessage(org.w3c.tidy.TidyMessage tidyMessage)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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
-
-