- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 31 Aug 2009 15:00:17 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/util In directory hutz:/tmp/cvs-serv26505/src/org/w3c/unicorn/util Added Files: Message.java Log Message: unicorn now displays error messages on the index page instead of a dedicated page --- NEW FILE: Message.java --- package org.w3c.unicorn.util; public class Message { public enum Level { ERROR, WARNING, INFO; } private String message; private String content; private Level level; public Message() { } public Message(Level level, String message, String content) { this.level = level; this.message = message; this.content = content; } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public Level getLevel() { return level; } public void setLevel(Level level) { this.level = level; } }
Received on Monday, 31 August 2009 15:00:28 UTC