public class ListFormInjector extends AbstractCollectionFormInjector<java.util.List>
Constructor and Description |
---|
ListFormInjector(java.lang.Class collectionType,
java.lang.Class genericType,
java.lang.String prefix,
ResteasyProviderFactory factory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addTo(java.util.List collection,
java.lang.String key,
java.lang.Object value)
Adds the item to the collection.
|
protected java.util.List |
createInstance(java.lang.Class collectionType)
Creates an instance of the collection type.
|
inject
doInject, hasValue
inject
public ListFormInjector(java.lang.Class collectionType, java.lang.Class genericType, java.lang.String prefix, ResteasyProviderFactory factory)
protected java.util.List createInstance(java.lang.Class collectionType)
createInstance
in class AbstractCollectionFormInjector<java.util.List>
protected void addTo(java.util.List collection, java.lang.String key, java.lang.Object value)
addTo
in class AbstractCollectionFormInjector<java.util.List>