net.sf.composite.extract.extractors
Class ContainerPropertyComponentAccessor
java.lang.Object
net.sf.composite.extract.extractors.BaseComponentAccessor
net.sf.composite.extract.extractors.BasePropertyComponentAccessor
net.sf.composite.extract.extractors.ContainerPropertyComponentAccessor
- All Implemented Interfaces:
- ComponentAccessor
public class ContainerPropertyComponentAccessor
- extends BasePropertyComponentAccessor
Extracts the components from a composite that stores its components as an
array or Collection. Can set the components of arrays,
Lists and Sets.
- Since:
- Mar 11, 2005
- Author:
- Matt Sgarlata
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerPropertyComponentAccessor
public ContainerPropertyComponentAccessor()
getComponentsImpl
protected java.util.List getComponentsImpl(java.lang.Object composite)
throws java.lang.Exception
- Description copied from class:
BaseComponentAccessor
- Implementation of
ComponentAccessor.getComponents(Object).
- Specified by:
getComponentsImpl in class BaseComponentAccessor
- Parameters:
composite - the composite from which the components will be extracted
- Returns:
- the components
- Throws:
java.lang.Exception - if the components could not be extracted for some reason
setComponentsImpl
protected void setComponentsImpl(java.lang.Object composite,
java.util.List components)
throws java.lang.Exception
- Description copied from class:
BaseComponentAccessor
- Implementation of
ComponentAccessor#setComponents(SimpleComposite, Object[]).
- Specified by:
setComponentsImpl in class BaseComponentAccessor
- Parameters:
composite - the composite for which the components will be setcomponents - the components
- Throws:
java.lang.Exception - if the components could not be set for some reason
Copyright © 2005-2008.