public class ListFormInjector extends AbstractCollectionFormInjector<List>
| Constructor and Description |
|---|
ListFormInjector(Class collectionType,
Class genericType,
String prefix,
ResteasyProviderFactory factory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTo(List collection,
String key,
Object value)
Adds the item to the collection.
|
protected List |
createInstance(Class collectionType)
Creates an instance of the collection type.
|
injectdoInject, hasValueinjectpublic ListFormInjector(Class collectionType, Class genericType, String prefix, ResteasyProviderFactory factory)
collectionType - collection typegenericType - generic typeprefix - prefixfactory - provider factoryprotected List createInstance(Class collectionType)
createInstance in class AbstractCollectionFormInjector<List>collectionType - collection typeCopyright © 2018 JBoss by Red Hat. All rights reserved.