com.ibm.pdp.engine
Interface IMicroPatternHandler

All Superinterfaces:
ICommonMicroPatternHandler
All Known Implementing Classes:
AbstractGlobalMicroPatternHandler

public interface IMicroPatternHandler
extends ICommonMicroPatternHandler

Handles an occurrence of a IMicroPattern found by the engine in the source code
An IMicroPatternHandler is registered by its corresponding MP ID and namespace (optional)
If the engine is configured with two handlers registered for the same MP ID, it will use the optional namespace attribute to choose the right handler at runtime.
If the MP does not define a namespace, the engine should stop with a SEVERE error


Field Summary
static java.lang.String copyright
           
 
Method Summary
 void process(IMicroPattern microPattern, IGenInfoBuilder genInfoBuilder)
          Called once per Micro Pattern having same ID and Namespace found in the source code
 
Methods inherited from interface com.ibm.pdp.engine.ICommonMicroPatternHandler
getId, getNamespace, init
 

Field Detail

copyright

static final java.lang.String copyright
See Also:
Constant Field Values
Method Detail

process

void process(IMicroPattern microPattern,
             IGenInfoBuilder genInfoBuilder)
Called once per Micro Pattern having same ID and Namespace found in the source code

Parameters:
microPattern -
genInfoBuilder -