org.deegree.services.wps.provider.jrxml.contentprovider
Class PropertiesContentProvider

java.lang.Object
  extended by org.deegree.services.wps.provider.jrxml.contentprovider.AbstractJrxmlContentProvider
      extended by org.deegree.services.wps.provider.jrxml.contentprovider.PropertiesContentProvider
All Implemented Interfaces:
JrxmlContentProvider

public class PropertiesContentProvider
extends AbstractJrxmlContentProvider

TODO add class documentation here

Version:
$Revision: $, $Date: $
Author:
Lyn Goltz, last edited by: $Author: lyn $

Field Summary
 
Fields inherited from class org.deegree.services.wps.provider.jrxml.contentprovider.AbstractJrxmlContentProvider
workspace
 
Constructor Summary
PropertiesContentProvider(DeegreeWorkspace workspace, ResourceBundle resourceBundle)
           
 
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 org.deegree.services.wps.provider.jrxml.contentprovider.AbstractJrxmlContentProvider
addInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesContentProvider

public PropertiesContentProvider(DeegreeWorkspace workspace,
                                 ResourceBundle resourceBundle)
Method Detail

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 InputStream and an information if a datasource was inserted or not
Throws:
ProcessletException


Copyright © 2011. All Rights Reserved.