View Javadoc

1   /*
2    * Copyright (c) 2005, The K-Wf Grid Consortium
3    * Fraunhofer Institute for Computer Architecture and Software Technology
4    * See http://www.kwfgrid.eu and http://www.first.fraunhofer.de for more details.
5    */
6   package net.kwfgrid.gworkflowdl.protocol;
7   
8   /***
9      The interface for a ModificationHandler.
10   */
11  public interface IModificationHandler {
12      /***
13         Handle a generic modification.
14         @param root The object constituting the root node of the document.
15         @param modification The generic modification.
16         @exception IllegalModificationException If the modification could not be handled.
17       */
18      void handleModification(Object root, Object modification) throws IllegalModificationException;
19  }