You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DiffJSONSerializer.java 552B

12345678910111213141516171819
  1. /*
  2. @VaadinApache2LicenseForJavaFiles@
  3. */
  4. package com.vaadin.terminal.gwt.client.communication;
  5. import com.google.gwt.json.client.JSONValue;
  6. import com.vaadin.terminal.gwt.client.ApplicationConnection;
  7. public interface DiffJSONSerializer<T> extends JSONSerializer<T> {
  8. /**
  9. * Update the target object in place based on the passed JSON data.
  10. *
  11. * @param target
  12. * @param jsonValue
  13. * @param connection
  14. */
  15. public void update(T target, Type type, JSONValue jsonValue,
  16. ApplicationConnection connection);
  17. }