org.apache.xbean.recipe
Class CollectionRecipe
java.lang.Object
org.apache.xbean.recipe.AbstractRecipe
org.apache.xbean.recipe.CollectionRecipe
- All Implemented Interfaces:
- java.io.Serializable, Recipe
public class CollectionRecipe
- extends AbstractRecipe
- Version:
- $Rev: 6685 $ $Date: 2005-12-28T00:29:37.967210Z $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CollectionRecipe
public CollectionRecipe()
CollectionRecipe
public CollectionRecipe(java.lang.String type)
CollectionRecipe
public CollectionRecipe(java.lang.Class type)
CollectionRecipe
public CollectionRecipe(java.util.Collection<?> collection)
CollectionRecipe
public CollectionRecipe(CollectionRecipe collectionRecipe)
allow
public void allow(Option option)
disallow
public void disallow(Option option)
getNestedRecipes
public java.util.List<Recipe> getNestedRecipes()
- Specified by:
getNestedRecipes
in interface Recipe
- Overrides:
getNestedRecipes
in class AbstractRecipe
getConstructorRecipes
public java.util.List<Recipe> getConstructorRecipes()
- Specified by:
getConstructorRecipes
in interface Recipe
- Overrides:
getConstructorRecipes
in class AbstractRecipe
canCreate
public boolean canCreate(java.lang.reflect.Type expectedType)
internalCreate
protected java.lang.Object internalCreate(java.lang.reflect.Type expectedType,
boolean lazyRefAllowed)
throws ConstructionException
- Specified by:
internalCreate
in class AbstractRecipe
- Throws:
ConstructionException
add
public void add(java.lang.Object value)
addAll
public void addAll(java.util.Collection<?> value)
remove
public void remove(java.lang.Object value)
removeAll
public void removeAll(java.lang.Object value)
getAll
public java.util.List<java.lang.Object> getAll()
Copyright © 2005-2011. All Rights Reserved.