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

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 UTC