org.deegree.services.wps.provider.jrxml.contentprovider.map
Class MapContentProvider

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

public class MapContentProvider
extends AbstractJrxmlContentProvider

Provides a map in the jrxml

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

Field Summary
static double INCH2M
           
 
Fields inherited from class org.deegree.services.wps.provider.jrxml.contentprovider.AbstractJrxmlContentProvider
workspace
 
Constructor Summary
MapContentProvider(DeegreeWorkspace workspace)
           
 
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
 

Field Detail

INCH2M

public static final double INCH2M
See Also:
Constant Field Values
Constructor Detail

MapContentProvider

public MapContentProvider(DeegreeWorkspace workspace)
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.