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

2006/unicorn/org/w3c/unicorn/contract Observer.java,1.2,1.3

From: Hiep Duong via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 20 Feb 2008 15:22:00 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JRqlk-00011t-3X@lionel-hutz.w3.org>

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

Modified Files:
	Observer.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: Observer.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/contract/Observer.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Observer.java	22 Jan 2008 13:52:30 -0000	1.2
+++ Observer.java	20 Feb 2008 15:21:58 -0000	1.3
@@ -32,6 +32,7 @@
 	private LocalizedString aLocalizedStringHelpLocation = null;
 	private LocalizedString aLocalizedStringProvider = null;
 	private String sParamLangName = null;
+	private String responseType = null;
 
 	/**
 	 * List of method who can be used to call this observer.
@@ -170,4 +171,12 @@
 		return false;
 	}
 
+	public String getResponseType() {
+		return responseType;
+	}
+
+	public void setResponseType(String responseType) {
+		this.responseType = responseType;
+	}
+
 }
Received on Wednesday, 20 February 2008 15:22:09 GMT

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