org.apache.xbean.recipe
Class CollectionRecipe
java.lang.Object
org.apache.xbean.recipe.AbstractRecipe
org.apache.xbean.recipe.CollectionRecipe
- All Implemented Interfaces:
- Serializable, Recipe
public class CollectionRecipe
- extends AbstractRecipe
- Version:
- $Rev: 6685 $ $Date: 2005-12-28T00:29:37.967210Z $
- See Also:
- Serialized Form
CollectionRecipe
public CollectionRecipe()
CollectionRecipe
public CollectionRecipe(String type)
CollectionRecipe
public CollectionRecipe(Class type)
CollectionRecipe
public CollectionRecipe(Collection<?> collection)
CollectionRecipe
public CollectionRecipe(CollectionRecipe collectionRecipe)
allow
public void allow(Option option)
disallow
public void disallow(Option option)
getNestedRecipes
public List<Recipe> getNestedRecipes()
- Specified by:
getNestedRecipes
in interface Recipe
- Overrides:
getNestedRecipes
in class AbstractRecipe
getConstructorRecipes
public List<Recipe> getConstructorRecipes()
- Specified by:
getConstructorRecipes
in interface Recipe
- Overrides:
getConstructorRecipes
in class AbstractRecipe
canCreate
public boolean canCreate(Type expectedType)
internalCreate
protected Object internalCreate(Type expectedType,
boolean lazyRefAllowed)
throws ConstructionException
- Specified by:
internalCreate
in class AbstractRecipe
- Throws:
ConstructionException
add
public void add(Object value)
addAll
public void addAll(Collection<?> value)
remove
public void remove(Object value)
removeAll
public void removeAll(Object value)
getAll
public List<Object> getAll()
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.