org.apache.commons.betwixt.io.read
Interface ChainedBeanCreator
- public interface ChainedBeanCreator
Creator of beans that may delegate responsibility to members down the chain.
- Since:
- 0.5
- Author:
- Robert Burrell Donkin
Method Summary |
java.lang.Object |
create(org.apache.commons.betwixt.io.read.ElementMapping elementMapping,
org.apache.commons.betwixt.io.read.ReadContext context,
org.apache.commons.betwixt.io.read.BeanCreationChain chain)
Creates a bean either directly or by delegating the responsibility to the other
members of the chain. |
create
public java.lang.Object create(org.apache.commons.betwixt.io.read.ElementMapping elementMapping,
org.apache.commons.betwixt.io.read.ReadContext context,
org.apache.commons.betwixt.io.read.BeanCreationChain chain)
- Creates a bean either directly or by delegating the responsibility to the other
members of the chain.
- Parameters:
elementMapping
- specifies the mapping between the type and element.
Note it is recommended that classes do not store a permenant
reference to this object since these objects may later be reused.
Not nullcontext
- the context in which this converision happens, not nullchain
- not null
- Returns:
- the Object created, possibly null
Copyright © 2002-2004 The Apache Software Foundation. All Rights Reserved.