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

2006/unicorn/src/org/w3c/unicorn/output XMLOutputFormater.java,1.5,1.6

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 23 Sep 2009 09:20:12 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MqO1E-0003oO-Qj@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/output
In directory hutz:/tmp/cvs-serv14638/src/org/w3c/unicorn/output

Modified Files:
	XMLOutputFormater.java 
Log Message:
EventCartridge is added in the constructor instead of setLang method

Index: XMLOutputFormater.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/XMLOutputFormater.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- XMLOutputFormater.java	1 Sep 2009 16:00:24 -0000	1.5
+++ XMLOutputFormater.java	23 Sep 2009 09:20:10 -0000	1.6
@@ -17,15 +17,15 @@
 	
 	public XMLOutputFormater(final String format, final String lang) {
 		super(format, lang);
-	}
-	
-	public void setLang(String lang) {
-		super.setLang(lang);
-
+		
 		// Replace tag objects (A, Img, ...) with their XHTML representation
 		final EventCartridge aEventCartridge = new EventCartridge();
 		aEventCartridge.addEventHandler(new XHTMLize());
 		aEventCartridge.attachToContext(aVelocityContext);
 	}
+	
+	public void setLang(String lang) {
+		super.setLang(lang);
+	}
 
 }
\ No newline at end of file
Received on Wednesday, 23 September 2009 09:20:24 GMT

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