public class MapRecipe extends AbstractRecipe
| Modifier and Type | Class and Description |
|---|---|
static class |
MapRecipe.DummyDictionaryAsMap |
| Constructor and Description |
|---|
MapRecipe() |
MapRecipe(Class type) |
MapRecipe(Map<?,?> map) |
MapRecipe(MapRecipe mapRecipe) |
MapRecipe(String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
allow(Option option) |
boolean |
canCreate(Type type) |
void |
disallow(Option option) |
List<Recipe> |
getConstructorRecipes() |
List<Recipe> |
getNestedRecipes() |
protected Object |
internalCreate(Type expectedType,
boolean lazyRefAllowed) |
void |
put(Object key,
Object value) |
void |
putAll(Map<?,?> map) |
create, create, create, getName, getPriority, setName, toStringpublic MapRecipe()
public MapRecipe(String type)
public MapRecipe(Class type)
public MapRecipe(Map<?,?> map)
public MapRecipe(MapRecipe mapRecipe)
public void allow(Option option)
public void disallow(Option option)
public List<Recipe> getNestedRecipes()
getNestedRecipes in interface RecipegetNestedRecipes in class AbstractRecipepublic List<Recipe> getConstructorRecipes()
getConstructorRecipes in interface RecipegetConstructorRecipes in class AbstractRecipepublic boolean canCreate(Type type)
protected Object internalCreate(Type expectedType, boolean lazyRefAllowed) throws ConstructionException
internalCreate in class AbstractRecipeConstructionExceptionpublic void putAll(Map<?,?> map)
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.