Package org.apache.xbean.recipe
Class CollectionRecipe
java.lang.Object
org.apache.xbean.recipe.AbstractRecipe
org.apache.xbean.recipe.CollectionRecipe
- All Implemented Interfaces:
Serializable
,Recipe
- Version:
- $Rev: 6685 $ $Date: 2005-12-28T00:29:37.967210Z $
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCollectionRecipe
(Class type) CollectionRecipe
(String type) CollectionRecipe
(Collection<?> collection) CollectionRecipe
(CollectionRecipe collectionRecipe) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addAll
(Collection<?> value) void
boolean
void
getAll()
private Class
getCollection
(Class type) private Class
protected Object
internalCreate
(Type expectedType, boolean lazyRefAllowed) void
void
void
setRegistry
(PropertyEditorRegistry registry) Methods inherited from class org.apache.xbean.recipe.AbstractRecipe
create, create, create, getName, getPriority, setName, toString
-
Field Details
-
list
-
typeName
-
typeClass
-
registry
-
options
-
-
Constructor Details
-
CollectionRecipe
public CollectionRecipe() -
CollectionRecipe
-
CollectionRecipe
-
CollectionRecipe
-
CollectionRecipe
-
-
Method Details
-
setRegistry
-
allow
-
disallow
-
getNestedRecipes
- Specified by:
getNestedRecipes
in interfaceRecipe
- Overrides:
getNestedRecipes
in classAbstractRecipe
-
getConstructorRecipes
- Specified by:
getConstructorRecipes
in interfaceRecipe
- Overrides:
getConstructorRecipes
in classAbstractRecipe
-
canCreate
-
internalCreate
protected Object internalCreate(Type expectedType, boolean lazyRefAllowed) throws ConstructionException - Specified by:
internalCreate
in classAbstractRecipe
- Throws:
ConstructionException
-
getType
-
getCollection
-
add
-
addAll
-
remove
-
removeAll
-
getAll
-