W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2009

2006/unicorn/src/org/w3c/unicorn/util Message.java,NONE,1.1

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 31 Aug 2009 15:00:17 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mi8Mj-0006v1-Cc@lionel-hutz.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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:38 UTC