org.w3c.tidy.servlet.data
Class DefaultResponseRecord
java.lang.Object
org.w3c.tidy.servlet.data.DefaultResponseRecord
- All Implemented Interfaces:
- ResponseRecord, org.w3c.tidy.TidyMessageListener
- public class DefaultResponseRecord
- extends java.lang.Object
- implements org.w3c.tidy.TidyMessageListener, ResponseRecord
Data to store Validation results and error.
- Version:
- $Revision: 1.2 $ ($Author: vlads $)
- Author:
- Vlad Skarzhevskyy skarzhevskyy@gmail.com
- To Do:
- Create the API interface for adding additional attributes like JSP name, action
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultResponseRecord
public DefaultResponseRecord()
messageReceived
public void messageReceived(org.w3c.tidy.TidyMessage message)
- Specified by:
messageReceived
in interface org.w3c.tidy.TidyMessageListener
getRequestID
public java.lang.Object getRequestID()
- Specified by:
getRequestID
in interface ResponseRecord
- Returns:
- Returns the requestID.
setRequestID
public void setRequestID(java.lang.Object requestID)
- Specified by:
setRequestID
in interface ResponseRecord
- Parameters:
requestID
- The requestID to set.
getHtmlInput
public java.lang.String getHtmlInput()
- Specified by:
getHtmlInput
in interface ResponseRecord
- Returns:
- Returns the html.
setHtmlInput
public void setHtmlInput(java.lang.String html)
- Specified by:
setHtmlInput
in interface ResponseRecord
- Parameters:
html
- The html to set.
getParseErrors
public int getParseErrors()
- Specified by:
getParseErrors
in interface ResponseRecord
- Returns:
- Returns the parseErrors.
setParseErrors
public void setParseErrors(int parseErrors)
- Parameters:
parseErrors
- The parseErrors to set.
getParseWarnings
public int getParseWarnings()
- Specified by:
getParseWarnings
in interface ResponseRecord
- Returns:
- Returns the parseWarnings.
setParseWarnings
public void setParseWarnings(int parseWarnings)
- Parameters:
parseWarnings
- The parseWarnings to set.
getReport
public java.lang.String getReport()
- Returns:
- Returns the report.
setReport
public void setReport(java.lang.String report)
- Parameters:
report
- The report to set.
getMessages
public java.util.List getMessages()
- Specified by:
getMessages
in interface ResponseRecord
- Returns:
- Returns the messages.
- See Also:
TidyMessage
getParsTime
public long getParsTime()
- Specified by:
getParsTime
in interface ResponseRecord
- Returns:
- Returns the parsTime.
setParsTime
public void setParsTime(long parsTime)
- Specified by:
setParsTime
in interface ResponseRecord
- Parameters:
parsTime
- The parsTime to set.
getWhen
public long getWhen()
- Specified by:
getWhen
in interface ResponseRecord
- Returns:
- Returns the when.
getHtmlOutput
public java.lang.String getHtmlOutput()
- Specified by:
getHtmlOutput
in interface ResponseRecord
- Returns:
- Returns the htmlResult.
setHtmlOutput
public void setHtmlOutput(java.lang.String html)
- Specified by:
setHtmlOutput
in interface ResponseRecord
- Parameters:
html
- The htmlResult to set.
getImageName
public java.lang.String getImageName()
- Specified by:
getImageName
in interface ResponseRecord
- Returns:
- Returns the part of ImageName shown as icon or null to use default implementation
Copyright © 2004-2005 sourceforge. All Rights Reserved.