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

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 UTC