Package org.geotools.data.wfs.impl
Class WFSDataAccessFactory.WFSFactoryParam<T>
Object
Parameter
DataAccessFactory.Param
WFSFactoryParam<T>
- All Implemented Interfaces:
Parameter
- Enclosing class:
- WFSDataAccessFactory
A
DataAccessFactory.Param
subclass that allows us to provide a default value to the lookUp method.-
Field Summary
Fields inherited from class Parameter
CRS, DEPRECATED, description, ELEMENT, EXT, FEATURE_TYPE, IS_LARGE_TEXT, IS_PASSWORD, key, LENGTH, LEVEL, MAX, maxOccurs, metadata, MIN, minOccurs, OPTIONS, required, sample, title, type
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a required parameterCreates an optional parameter with the supplied default valueWFSFactoryParam
(String key, Class<T> type, String title, String description, T defaultValue, Object... metadata) WFSFactoryParam
(String key, Class<T> type, String title, String description, T defaultValue, String level) Creates an optional parameter with the supplied default value -
Method Summary
Methods inherited from class DataAccessFactory.Param
handle, parse, text, toString
Methods inherited from class Parameter
equals, getDefaultValue, getDescription, getLevel, getMaxOccurs, getMinOccurs, getName, getTitle, getType, hashCode, isDeprecated, isPassword, isRequired
-
Constructor Details
-
WFSFactoryParam
Creates a required parameter -
WFSFactoryParam
Creates an optional parameter with the supplied default value -
WFSFactoryParam
public WFSFactoryParam(String key, Class<T> type, String title, String description, T defaultValue, String level) Creates an optional parameter with the supplied default value -
WFSFactoryParam
-
-
Method Details
-
lookUp
Description copied from class:DataAccessFactory.Param
Lookup Param in a user supplied map.Type conversion will occur if required, this may result in an IOException. An IOException will be throw in the Param is required and the Map does not contain the Map.
The handle method is used to process the user's value.
- Overrides:
lookUp
in classDataAccessFactory.Param
- Parameters:
params
- Map of user input- Returns:
- Parameter as specified in map
- Throws:
IOException
- if parse could not handle value
-