- From: Hiep Duong via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 20 Feb 2008 15:10:01 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/org/w3c/unicorn/output In directory hutz:/tmp/cvs-serv30553/org/w3c/unicorn/output Modified Files: XHTMLize.java Log Message: simplified observationresponse and generalize output format (now we can map a format type what defnied in the contract to a ResponseParser) Index: XHTMLize.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/output/XHTMLize.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- XHTMLize.java 29 Nov 2007 14:11:59 -0000 1.3 +++ XHTMLize.java 20 Feb 2008 15:09:59 -0000 1.4 @@ -1,9 +1,9 @@ package org.w3c.unicorn.output; import org.apache.velocity.app.event.ReferenceInsertionEventHandler; -import org.w3c.unicorn.generated.observationresponse.Code; -import org.w3c.unicorn.generated.observationresponse.A; -import org.w3c.unicorn.generated.observationresponse.Img; +import org.w3c.unicorn.response.Code; +import org.w3c.unicorn.response.A; +import org.w3c.unicorn.response.Img; /** @@ -45,6 +45,9 @@ if (oElement instanceof Img) { sResultat += insertImg((Img) oElement); } + //else if (oElement instanceof Code) { + // sResultat += insertCode((Code) oElement); + //} else { sResultat += EscapeXMLEntities.escapeText(oElement.toString()); }
Received on Wednesday, 20 February 2008 15:10:10 UTC