Interface IInitializationStrategy
- All Known Implementing Classes:
AbstractInitializationStrategy
,GastToPrimitiveComponentInitializationStrategy
,NoGastClassToPrimitiveComponentInitializationStrategy
public interface IInitializationStrategy
This strategy judges how to initially handle GAST classes and how or whether
at all to convert to components.
-
Method Summary
Modifier and TypeMethodDescriptioncreateInitialComponentCandidates
(Root root, SoMoXConfiguration config, ComponentBuilder builder) Create an initial list of component candidates by following a simple heuristic: each GASTClass is a component.
-
Method Details
-
createInitialComponentCandidates
List<ComponentImplementingClassesLink> createInitialComponentCandidates(Root root, SoMoXConfiguration config, ComponentBuilder builder) Create an initial list of component candidates by following a simple heuristic: each GASTClass is a component. Its implementation consists of the GAST class itself and the set of all inner, i.e., nested, classes- Returns:
- A list of initial component candidates. This method guarantees that
all components are
IPrimitiveComponentCandidate
s.
-