public class MapFormInjector extends AbstractCollectionFormInjector<Map>
Constructor and Description |
---|
MapFormInjector(Class collectionType,
Class keyType,
Class valueType,
String prefix,
ResteasyProviderFactory factory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addTo(Map collection,
String key,
Object value)
Adds the item to the collection.
|
protected Map |
createInstance(Class collectionType)
Creates an instance of the collection type.
|
inject
doInject, hasValue
inject
public MapFormInjector(Class collectionType, Class keyType, Class valueType, String prefix, ResteasyProviderFactory factory)
protected Map createInstance(Class collectionType)
createInstance
in class AbstractCollectionFormInjector<Map>
Copyright © 2015 JBoss by Red Hat. All rights reserved.