org.deegree.services.wps.provider.jrxml.contentprovider.map
Class MapContentProvider
java.lang.Object
org.deegree.services.wps.provider.jrxml.contentprovider.AbstractJrxmlContentProvider
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
|
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 |
INCH2M
public static final double INCH2M
- See Also:
- Constant Field Values
MapContentProvider
public MapContentProvider(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 definitioninputs
- list of ProcessletInputDefinition
s, never null
, append new inputs herejrxmlAdapter
- adapter containing the jrxmlparameters
- list of all parameters out of the jrxml filehandledParameters
- 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.