public static class WFSDataAccessFactory.WFSFactoryParam<T> extends DataAccessFactory.Param
DataAccessFactory.Param subclass that allows us to provide a default value to the lookUp method.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 and Description |
|---|
WFSFactoryParam(String key,
Class<T> type,
String title,
String description)
Creates a required parameter
|
WFSFactoryParam(String key,
Class<T> type,
String title,
String description,
T defaultValue)
Creates an optional parameter with the supplied default value
|
WFSFactoryParam(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
|
| Modifier and Type | Method and Description |
|---|---|
T |
lookUp(Map params)
Lookup Param in a user supplied map.
|
handle, parse, text, toStringequals, getDefaultValue, getDescription, getLevel, getMaxOccurs, getMinOccurs, getName, getTitle, getType, hashCode, isDeprecated, isPassword, isRequiredpublic WFSFactoryParam(String key, Class<T> type, String title, String description)
key - type - description - public WFSFactoryParam(String key, Class<T> type, String title, String description, T defaultValue)
key - type - description - required - public WFSFactoryParam(String key, Class<T> type, String title, String description, T defaultValue, String level)
key - type - description - required - public T lookUp(Map params) throws IOException
DataAccessFactory.ParamType 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.
lookUp in class DataAccessFactory.Paramparams - Map of user inputIOException - if parse could not handle valueCopyright © 1996–2019 Geotools. All rights reserved.