You can use the following interfaces to describe a micropattern in the application programming interface.
The classes which extend this interface represent the micropattern declaration in the source code. The IMicroPattern interface offers methods to access the canonical forms of the declaration, such as the local generation area, the micropattern identifier, or the list of declared parameters
An implementation for the COBOL code is standardly available.
IMicroPatternHandler manages a global micropattern, which generates code in various parts of the source in which it is declared.
IMicroPatternHandler extends ICommonMicroPatternHandler
ISimpleMicroPatternHandler processes a simple micropattern, which generates code in the micropattern declaration only.
ISimpleMicroPatternHandler extends ICommonMicroPatternHandler.
To implement a global micropattern, you must inherit from this class. This abstract class implements IMicroPatternHandler.
To implement a simple micropattern, you must inherit from this class. This abstract class implements ISimpleMicroPatternHandler