Class HtmlEvaluationMessage


  • public class HtmlEvaluationMessage
    extends java.lang.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) $
    • 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,
                                     java.lang.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
      • setMessage

        public void setMessage​(java.lang.String message)
        Sets the message.
        Parameters:
        message - the message value to set.
        Since:
        6.0.0
      • getMessage

        public java.lang.String getMessage()
        Returns the message.
        Returns:
        the message
        Since:
        6.0.0
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object