org.deegree.services.wps.provider.jrxml.contentprovider
Class OtherContentProvider
java.lang.Object
   org.deegree.services.wps.provider.jrxml.contentprovider.AbstractJrxmlContentProvider
org.deegree.services.wps.provider.jrxml.contentprovider.AbstractJrxmlContentProvider
       org.deegree.services.wps.provider.jrxml.contentprovider.OtherContentProvider
org.deegree.services.wps.provider.jrxml.contentprovider.OtherContentProvider
- All Implemented Interfaces: 
- JrxmlContentProvider
- public class OtherContentProvider 
- extends AbstractJrxmlContentProvider
A JrxmlContentProvider for literal parameters
- Version:
- $Revision: $, $Date: $
- Author:
- Lyn Goltz, last edited by: $Author: lyn $
 
 
 
| Method Summary | 
|  void | inspectInputParametersFromJrxml(Map<String,ParameterDescription> parameterDescriptions,
                                List<JAXBElement<? extends ProcessletInputDefinition>> inputs,
                                XMLAdapter jrxmlAdapter,
                                Map<String,String> parameters,
                                List<String> handledParameters)inspects the parameters found in the xml and converts them to WPSProcess input parameters
 | 
|  Pair<InputStream,Boolean> | prepareJrxmlAndReadInputParameters(InputStream jrxml,
                                   Map<String,Object> params,
                                   ProcessletInputs in,
                                   List<CodeType> processedIds,
                                   Map<String,String> parameters)prepare the jrxml and read input parameters from WPSProcess providers to append them in the list of parameters to
 fill the jrxml report with
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
OtherContentProvider
public OtherContentProvider(DeegreeWorkspace workspace)
inspectInputParametersFromJrxml
public void inspectInputParametersFromJrxml(Map<String,ParameterDescription> parameterDescriptions,
                                            List<JAXBElement<? extends ProcessletInputDefinition>> inputs,
                                            XMLAdapter jrxmlAdapter,
                                            Map<String,String> parameters,
                                            List<String> handledParameters)
- Description copied from interface: JrxmlContentProvider
- inspects the parameters found in the xml and converts them to WPSProcess input parameters
 
- 
- Parameters:
- parameterDescriptions- description of a single parameter out of the process definition
- inputs- list of- ProcessletInputDefinitions, never- null, append new inputs here
- jrxmlAdapter- adapter containing the jrxml
- parameters- list of all parameters out of the jrxml file
- handledParameters- list of parameters out of the jrxml file, which are handled already!
 
prepareJrxmlAndReadInputParameters
public Pair<InputStream,Boolean> prepareJrxmlAndReadInputParameters(InputStream jrxml,
                                                                    Map<String,Object> params,
                                                                    ProcessletInputs in,
                                                                    List<CodeType> processedIds,
                                                                    Map<String,String> parameters)
                                                             throws ProcessletException
- Description copied from interface: JrxmlContentProvider
- prepare the jrxml and read input parameters from WPSProcess providers to append them in the list of parameters to
 fill the jrxml report with
 
- 
- params- list of parameters to fill the jrxml report with, append parameters read from WPS PRocess input
            parameters here, never- null
- in- contains the WPSProcess input parameters, never- null
- processedIds- a list if ids which are already precessed. insert ids here, if they are processed. never- null
- parameters- metainformation about the parameters (name, type)
- Returns:
- the adjusted jrxml as InputStreamand an information if a datasource was inserted or not
- Throws:
- ProcessletException
 
Copyright © 2011. All Rights Reserved.