net.sf.composite.extract
Interface ComponentAccessor

All Known Implementing Classes:
BaseComponentAccessor, BasePropertyComponentAccessor, ContainerPropertyComponentAccessor

public interface ComponentAccessor

Provides an interface for reading and writing the components of a composite.

Since:
Mar 11, 2005
Author:
Matt Sgarlata

Method Summary
 java.util.List getComponents(java.lang.Object composite)
          Extracts the components from a composite.
 void setComponents(java.lang.Object composite, java.util.List components)
          Sets the components in a composite.
 

Method Detail

getComponents

java.util.List getComponents(java.lang.Object composite)
                             throws ComponentAccessorException
Extracts the components from a composite.

Parameters:
composite - the composite from which the components will be extracted
Returns:
the components
Throws:
ComponentAccessorException - if the components could not be extracted for some reason

setComponents

void setComponents(java.lang.Object composite,
                   java.util.List components)
                   throws ComponentAccessorException
Sets the components in a composite.

Parameters:
composite - the composite for which the components will be set
components - the components
Throws:
ComponentAccessorException - if the components could not be set for some reason


Copyright © 2005-2008.