Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Smooks Core
-
Labels:None
Description
Make it possible to execute multiple methods with the @Initialize tag in phases.
The @Initialize tag will need something like a optional attribute called phase. This attribute gets a phase number, defaulting to 0. When Smooks initializes the visitors it will first call the intialize method with the 0 phase number. When they are all called Smooks will call all the initialize methods with the 1 phase number. It will continue calling these methods until no @Initialize methods in the phase are found.