/sun/xmleditor/trunk/src/parser/Parser.java |
---|
4,10 → 4,10 |
* Coded by: Group 5, software practice summer 2003 |
* University of Bielefeld, Germany |
* |
* @version $Revision: 1.56 $ |
* @version $Revision: 1.57 $ |
* |
* Last modification: $Date: 2003/07/24 15:17:13 $ |
* $Id: Parser.java,v 1.56 2003/07/24 15:17:13 smcsporr Exp $ |
* Last modification: $Date: 2003/07/24 19:44:08 $ |
* $Id: Parser.java,v 1.57 2003/07/24 19:44:08 smcsporr Exp $ |
*/ |
package src.parser; |
60,7 → 60,7 |
* |
* @author Group 5 |
* |
* @version $Revision: 1.56 $ Last modification: $Date: 2003/07/24 15:17:13 $ |
* @version $Revision: 1.57 $ Last modification: $Date: 2003/07/24 19:44:08 $ |
*/ |
public class Parser { |
404,16 → 404,19 |
statusInterfaceReference = stat; |
} |
/** |
* This method sets an internal reference to the log panel that is used to |
* output logging messages to inform the user about program events. |
* |
* @param log A log panel implementation compliant to src.gui.LogInterface. |
/** |
* 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. |
* |
* author S. McSporran |
* |
* Last Revision: 11-Jul-2003 |
*/ |
* @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); |
} |
/sun/xmleditor/trunk/src/parser/ValidationErrorHandler.java |
---|
4,10 → 4,10 |
* Coded by: Group 5, software practice summer 2003 |
* University of Bielefeld, Germany |
* |
* @version $Revision: 1.24 $ |
* @version $Revision: 1.25 $ |
* |
* Last modification: $Date: 2003/07/24 14:20:18 $ |
* $Id: ValidationErrorHandler.java,v 1.24 2003/07/24 14:20:18 smcsporr Exp $ |
* Last modification: $Date: 2003/07/24 19:43:44 $ |
* $Id: ValidationErrorHandler.java,v 1.25 2003/07/24 19:43:44 smcsporr Exp $ |
*/ |
package src.parser; |
31,7 → 31,7 |
* |
* @author S. McSporran |
* |
* @version $Revision: 1.24 $ Last modification: $Date: 2003/07/24 14:20:18 $ |
* @version $Revision: 1.25 $ Last modification: $Date: 2003/07/24 19:43:44 $ |
*/ |
public class ValidationErrorHandler extends DefaultErrorHandler { |
169,7 → 169,19 |
statusInterfaceReference = stat; |
} |
/** Sends a message 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); |
} |
/sun/xmleditor/trunk/src/parser/AdapterDomToTreeModel.java |
---|
4,10 → 4,10 |
* Coded by: Group 5, software practice summer 2003 |
* University of Bielefeld, Germany |
* |
* $Revision: 1.65 $ |
* $Revision: 1.66 $ |
* |
* Last modification: $Date: 2003/07/24 15:10:06 $ |
* $Id: AdapterDomToTreeModel.java,v 1.65 2003/07/24 15:10:06 mdonner Exp $ |
* Last modification: $Date: 2003/07/24 19:43:56 $ |
* $Id: AdapterDomToTreeModel.java,v 1.66 2003/07/24 19:43:56 smcsporr Exp $ |
*/ |
package src.parser; |
38,7 → 38,7 |
* |
* @author Group 5 |
* |
* @version $Revision: 1.65 $ Last modification: $Date: 2003/07/24 15:10:06 $ |
* @version $Revision: 1.66 $ Last modification: $Date: 2003/07/24 19:43:56 $ |
*/ |
public class AdapterDomToTreeModel implements TreeModel { |
870,7 → 870,19 |
LogInterfaceReference = log; |
} |
/* Sends messages 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. |
*/ |
public void log(int i, String message) { |
LogInterfaceReference.log(i,message); |
} |
/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); |
} |