public class SimpleFormDataProvider extends HashMap<String,String[]> implements FormDataProvider
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SimpleFormDataProvider() |
Modifier and Type | Method and Description |
---|---|
Map<String,String[]> |
getFormFields() |
Collection<String> |
getKeys() |
String[] |
getList(String key) |
String |
getString(String key) |
void |
putList(String key,
Collection<String> values) |
void |
putList(String key,
String... values) |
void |
putString(String key,
String value) |
<T extends Form> |
validate(Class<T> type) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public SimpleFormDataProvider()
public Collection<String> getKeys()
getKeys
in interface FormDataProvider
public String[] getList(String key)
getList
in interface FormDataProvider
public String getString(String key)
getString
in interface FormDataProvider
public Map<String,String[]> getFormFields()
getFormFields
in interface FormDataProvider
public void putList(String key, Collection<String> values)
public <T extends Form> T validate(Class<T> type) throws ValidationException
ValidationException
Copyright © 2015 Nuxeo SA. All rights reserved.