Interface ContainerSelector
-
- All Known Implementing Classes:
DefaultContainerSelector
public interface ContainerSelector
An interface for a component responsible for obtaining a container object.
During the execution of a builder script it is often necessary to obtain a
Composite
object 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
Composite
implementation as storage. This can be achieved with a special implementation of this interface. An object implementing this interface is contained in the centralComponentBuilderData
object. When searching for an enclosing container tag this object is invoked with the found tag as parameter. The implementation can then decide whichComposite
to use.- Since:
- 1.3
- Version:
- $Id$
- Author:
- Oliver Heger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Composite
getComposite(Composite tag)
Returns theComposite
to be used for the specified tag implementing theComposite
interface.
-