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

2006/unicorn/src/org/w3c/unicorn/output OutputModule.java,1.6,1.7 SimpleOutputModule.java,1.5,1.6

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 22 Sep 2009 12:37:30 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mq4cc-0005GG-QR@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/output
In directory hutz:/tmp/cvs-serv20203/src/org/w3c/unicorn/output

Modified Files:
	OutputModule.java SimpleOutputModule.java 
Log Message:
added produceFirstOutput method

Index: OutputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/OutputModule.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- OutputModule.java	21 Sep 2009 15:50:19 -0000	1.6
+++ OutputModule.java	22 Sep 2009 12:37:28 -0000	1.7
@@ -20,6 +20,13 @@
 	public static final Log logger = LogFactory.getLog(OutputModule.class);
 
 	/**
+	 * Generate a first output before the requests are launched.
+	 * 
+	 */
+	public abstract void produceFirstOutput(final OutputFormater aOutputFormater, Map<String, Object> mapOfStringObject,
+			final Map<String, String> mapOfParameter, final Writer aWriter);
+	
+	/**
 	 * Generate the output of all response.
 	 * 
 	 */

Index: SimpleOutputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/SimpleOutputModule.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- SimpleOutputModule.java	21 Sep 2009 15:50:19 -0000	1.5
+++ SimpleOutputModule.java	22 Sep 2009 12:37:28 -0000	1.6
@@ -24,4 +24,10 @@
 		aOutputFormater.produceError(mapOfStringObject, aWriter);
 	}
 
+	public void produceFirstOutput(OutputFormater aOutputFormater,
+			Map<String, Object> mapOfStringObject,
+			Map<String, String> mapOfParameter, Writer aWriter) {
+		return;
+	}
+
 }
Received on Tuesday, 22 September 2009 12:37:39 GMT

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