Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 798 → Rev 799

/sun/xmleditor/trunk/src/parser/Validator.java
4,10 → 4,10
* Coded by: Group 5, software practice summer 2003
* University of Bielefeld, Germany
*
* @version $Revision: 1.52 $
* @version $Revision: 1.53 $
*
* Last modification: $Date: 2003/07/24 19:47:54 $
* $Id: Validator.java,v 1.52 2003/07/24 19:47:54 smcsporr Exp $
* Last modification: $Date: 2003/07/25 11:41:53 $
* $Id: Validator.java,v 1.53 2003/07/25 11:41:53 smcsporr Exp $
*/
 
package src.parser;
53,7 → 53,7
*
* @author S. McSporran
*
* @version $Revision: 1.52 $ Last modification: $Date: 2003/07/24 19:47:54 $
* @version $Revision: 1.53 $ Last modification: $Date: 2003/07/25 11:41:53 $
*/
public class Validator {
 
479,7 → 479,19
return eHandler.isValid();
}
/** Sends a message of a specified type to the log panel. */
/**
* Sends a text message of a specified type (info, error, warning) to the
* registered log panel.
* A reference to an implementation of a log panel can be set with the
* <code>setLogInterface</code> method.
*
* @param i The type of the message as defined in src.gui.LogInterface.
* 0 or src.gui.LogInterface.TYPE_INFO -> info message (black)
* 1 or src.gui.LogInterface.TYPE_WARNING -> warning message (orange)
* 2 or src.gui.LogInterface.TYPE_ERROR -> error message (red)
*
* @param message The text message to display in the log panel.
*/
private void log(int i,String message) {
logInterfaceReference.log(i,message);
}