View Javadoc

1   /* $Id: Preprocessor.java,v 1.2 2004/09/01 15:42:26 jdt Exp $
2    * Created on Aug 10, 2004
3    *
4    * Copyright (C) AstroGrid. All rights reserved.
5    *
6    * This software is published under the terms of the AstroGrid 
7    * Software License version 1.2, a copy of which has been included 
8    * with this distribution in the LICENSE.txt file. 
9    */
10  package org.astrogrid.applications.http.script;
11  
12  import org.astrogrid.applications.beans.v1.WebHttpCall;
13  import org.astrogrid.registry.beans.cea.CeaHttpApplicationType;
14  import org.astrogrid.workflow.beans.v1.Tool;
15  
16  /***
17   * Processes the tool and application documents into a calling document.
18   * The tool document contains info on which interface is being used, the
19   * actual parameter values etc, while the applicaiton document will contain
20   * info about the app itself, such as its URL.  These used to construct (e.g. by xslt)
21   * a simple calling document containing all the info that the HttpClient requires. 
22   * @author jdt
23   */
24  public interface Preprocessor {
25      public WebHttpCall process(Tool tool, CeaHttpApplicationType app);
26  }