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

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

From: Hiep Duong via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 20 Feb 2008 15:23:55 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JRqnb-0001MT-8r@lionel-hutz.w3.org>

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 GMT

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