2006/unicorn/org/w3c/unicorn/contract InputMethod.java,1.1.1.1,1.2

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

Modified Files:
	InputMethod.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: InputMethod.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/contract/InputMethod.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- InputMethod.java	31 Aug 2006 09:09:20 -0000	1.1.1.1
+++ InputMethod.java	20 Feb 2008 15:23:53 -0000	1.2
@@ -64,12 +64,21 @@
 		final int iStringBufferSize = 1000;
 		final String sVariableSeparator = "\n";
 		final StringBuffer aStringBuffer = new StringBuffer(iStringBufferSize);
-
-		aStringBuffer.append("CallMethod:[").append(this.aCallMethod).append("]");
+		aStringBuffer.append("/BeginInputMethod/");
 		aStringBuffer.append(sVariableSeparator);
-		aStringBuffer.append("CallParameter:[").append(this.aCallParameter).append("]");
-
+		aStringBuffer.append("CallMethod:{").append(this.aCallMethod).append("}");
+		aStringBuffer.append(sVariableSeparator);
+		aStringBuffer.append("CallParameter:{").append(this.aCallParameter).append("}");
+		aStringBuffer.append(sVariableSeparator);
+		aStringBuffer.append("MimeType:{").append(this.listOfMimeType).append("}");
+		aStringBuffer.append(sVariableSeparator);
+		aStringBuffer.append("/EndInputMethod/");
+		
 		return aStringBuffer.toString();
 	}
 
+	public void setListOfMimeType(List<MimeType> listOfMimeType) {
+		this.listOfMimeType = listOfMimeType;
+	}
+
 }

Received on Wednesday, 20 February 2008 15:24:02 UTC