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

2006/unicorn/src/org/w3c/unicorn/output MailOutputModule.java,NONE,1.1

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 22 Sep 2009 12:39:31 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mq4eZ-0005PA-Ju@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/output
In directory hutz:/tmp/cvs-serv20762/src/org/w3c/unicorn/output

Added Files:
	MailOutputModule.java 
Log Message:
new OuputModule that sends observations by mail

--- NEW FILE: MailOutputModule.java ---
// $Id: MailOutputModule.java,v 1.1 2009/09/22 12:39:29 tgambet Exp $
// Author: Damien LEROY.
// (c) COPYRIGHT MIT, ERCIM ant Keio, 2006.
// Please first read the full copyright statement in file COPYRIGHT.html
package org.w3c.unicorn.output;

import java.io.Writer;
import java.util.Map;

/**
 * This module allow to generate output in mail format.
 * 
 * @author Thomas GAMBET
 */
public class MailOutputModule implements OutputModule {

	public void produceFirstOutput(OutputFormater aOutputFormater,
			Map<String, Object> mapOfStringObject,
			Map<String, String> mapOfParameter, Writer aWriter) {
		
		
		aOutputFormater.produceOutput(mapOfStringObject, aWriter);
		
	}
	
	public void produceOutput(final OutputFormater aOutputFormater, Map<String, Object> mapOfStringObject,
			final Map<String, String> mapOfParameter, final Writer aWriter) {
		
		
		
		aOutputFormater.produceOutput(mapOfStringObject, aWriter);
	}

	public void produceError(final OutputFormater aOutputFormater, Map<String, Object> mapOfStringObject,
			final Map<String, String> mapOfParameter, final Writer aWriter) {
		
		
		
		aOutputFormater.produceError(mapOfStringObject, aWriter);
	}



}
Received on Tuesday, 22 September 2009 12:39:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT