W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2008

2006/unicorn/org/w3c/unicorn/response Response.java,1.2,1.3

From: Jonathan Barouh via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 29 Aug 2008 11:56:21 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1KZ2aT-0005Kq-Af@lionel-hutz.w3.org>

Update of /sources/public/2006/unicorn/org/w3c/unicorn/response
In directory hutz:/tmp/cvs-serv20489/org/w3c/unicorn/response

Modified Files:
	Response.java 
Log Message:
Adds the xml attribute

Index: Response.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/response/Response.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Response.java	17 Jun 2008 13:45:31 -0000	1.2
+++ Response.java	29 Aug 2008 11:56:19 -0000	1.3
@@ -13,6 +13,8 @@
     protected String version;
     protected XMLGregorianCalendar date;
     protected Boolean passed;
+    protected StringBuffer xml; // the xml version of the response
+    
     /**
      * Result aResult = mapOfLangURIResult.get("fr").get("http://w3.org/home.css")
      */
@@ -240,4 +242,12 @@
     	}
     	return xList;
     }
+    
+    public void setXml(StringBuffer xmlString) {
+    	this.xml = xmlString;
+    }
+    
+    public StringBuffer getXml() {
+    	return this.xml;
+    }
 }
Received on Friday, 29 August 2008 11:56:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:33 UTC