Interface ContainerSelector
-
- All Known Implementing Classes:
DefaultContainerSelector
public interface ContainerSelectorAn interface for a component responsible for obtaining a container object.
During the execution of a builder script it is often necessary to obtain a
Compositeobject in which newly created elements have to be stored. Per default, these elements are directly added to the enclosing container tag.In rare cases, however, there is the need to use an alternative
Compositeimplementation as storage. This can be achieved with a special implementation of this interface. An object implementing this interface is contained in the centralComponentBuilderDataobject. When searching for an enclosing container tag this object is invoked with the found tag as parameter. The implementation can then decide whichCompositeto use.- Since:
- 1.3
- Version:
- $Id$
- Author:
- Oliver Heger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompositegetComposite(Composite tag)Returns theCompositeto be used for the specified tag implementing theCompositeinterface.
-