Class ParameterTypeFactory
- Object
-
- ParameterTypeFactory
-
public class ParameterTypeFactory extends Object
Builds parameters to pass to the stored query. It selects a value for each parameter in the stored query. The value is primarily the one passed in as a view parameter and secondarily the value of the mapping configured for the feature type.- Author:
- Sampo Savolainen (Spatineo)
-
-
Constructor Summary
Constructors Constructor Description ParameterTypeFactory(StoredQueryConfiguration config, StoredQueryDescriptionType desc, FeatureTypeInfo featureTypeInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ParameterType>
buildStoredQueryParameters(Map<String,String> viewParams, Filter filter)
protected String
evaluateMapping(ParameterMappingContext mappingContext, ParameterMapping mapping)
ParameterMapping
getStoredQueryParameterMapping(String parameterName)
-
-
-
Constructor Detail
-
ParameterTypeFactory
public ParameterTypeFactory(StoredQueryConfiguration config, StoredQueryDescriptionType desc, FeatureTypeInfo featureTypeInfo)
-
-
Method Detail
-
getStoredQueryParameterMapping
public ParameterMapping getStoredQueryParameterMapping(String parameterName)
-
buildStoredQueryParameters
public List<ParameterType> buildStoredQueryParameters(Map<String,String> viewParams, Filter filter)
-
evaluateMapping
protected String evaluateMapping(ParameterMappingContext mappingContext, ParameterMapping mapping)
-
-