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, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
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 © 2011 Nuxeo SA. All Rights Reserved.