org.w3c.tidy.servlet
Interface ResponseRecord

All Superinterfaces:
org.w3c.tidy.TidyMessageListener
All Known Implementing Classes:
DefaultResponseRecord

public interface ResponseRecord
extends org.w3c.tidy.TidyMessageListener

Data to store Validation results and error.

Version:
$Revision: 1.3 $ ($Author: vlads $)
Author:
Vlad Skarzhevskyy skarzhevskyy@gmail.com
See Also:
DefaultResponseRecord

Method Summary
 java.lang.String getHtmlInput()
           
 java.lang.String getHtmlOutput()
           
 java.lang.String getImageName()
           
 java.util.List getMessages()
           
 int getParseErrors()
           
 int getParseWarnings()
           
 long getParsTime()
           
 java.lang.Object getRequestID()
           
 long getWhen()
           
 void setHtmlInput(java.lang.String html)
           
 void setHtmlOutput(java.lang.String html)
           
 void setParsTime(long parsTime)
           
 void setRequestID(java.lang.Object requestID)
           
 
Methods inherited from interface org.w3c.tidy.TidyMessageListener
messageReceived
 

Method Detail

getRequestID

public java.lang.Object getRequestID()
Returns:
Returns the requestID.

setRequestID

public void setRequestID(java.lang.Object requestID)
Parameters:
requestID - The requestID to set.

getHtmlInput

public java.lang.String getHtmlInput()
Returns:
Returns the input html.

setHtmlInput

public void setHtmlInput(java.lang.String html)
Parameters:
html - The input html to set.

getHtmlOutput

public java.lang.String getHtmlOutput()
Returns:
Returns the htmlResult.

setHtmlOutput

public void setHtmlOutput(java.lang.String html)
Parameters:
html - The htmlOutput to set.

getParseErrors

public int getParseErrors()
Returns:
Returns the number of parse errors.

getParseWarnings

public int getParseWarnings()
Returns:
Returns the number of parse warnings.

getMessages

public java.util.List getMessages()
Returns:
Returns the JTidy messages.
See Also:
TidyMessage

getParsTime

public long getParsTime()
Returns:
Returns the JTidy parsing time in milliseconds.

setParsTime

public void setParsTime(long parsTime)
Parameters:
parsTime - The parsTime to set.

getWhen

public long getWhen()
Returns:
Returns the when.

getImageName

public java.lang.String getImageName()
Returns:
Returns the part of ImageName shown as icon or null to use default implementation


Copyright © 2004-2005 sourceforge. All Rights Reserved.