com.ibm.pdp.rpp.micropattern
Class AbstractSimpleMicroPatternHandler
java.lang.Object
com.ibm.pdp.rpp.micropattern.AbstractBaseMicroPatternHandler
com.ibm.pdp.rpp.micropattern.AbstractSimpleMicroPatternHandler
- All Implemented Interfaces:
- ICommonMicroPatternHandler, ISimpleMicroPatternHandler
public abstract class AbstractSimpleMicroPatternHandler
- extends AbstractBaseMicroPatternHandler
- implements ISimpleMicroPatternHandler
Abstract class for simple micro patterns. All user must extends this class
Field Summary |
static java.lang.String |
copyright
|
Method Summary |
java.lang.String |
process(IMicroPattern microPattern)
Called once per Micro Pattern having same ID and Namespace found in the source code |
abstract java.lang.String |
process(IMicroPattern microPattern,
com.ibm.pdp.maf.rpp.kernel.RadicalElement radicalElement)
Called once per Micro Pattern having same ID and name space found in the source code. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final java.lang.String copyright
- See Also:
- Constant Field Values
AbstractSimpleMicroPatternHandler
public AbstractSimpleMicroPatternHandler()
process
public final java.lang.String process(IMicroPattern microPattern)
- Description copied from interface:
ISimpleMicroPatternHandler
- Called once per Micro Pattern having same ID and Namespace found in the source code
- Specified by:
process
in interface ISimpleMicroPatternHandler
- Returns:
- a String to replace the current Micro Pattern in the source
process
public abstract java.lang.String process(IMicroPattern microPattern,
com.ibm.pdp.maf.rpp.kernel.RadicalElement radicalElement)
- Called once per Micro Pattern having same ID and name space found in the source code.
- Parameters:
microPattern
- The Micro Pattern.radicalElement
- The radical element source of the generation.
- Returns:
- a String to replace the current Micro Pattern code in the source.