org.pf.tools.cda.base.model.processing
Class AClassInformationProcessor<TResultData>

java.lang.Object
  extended by org.pf.tools.cda.base.model.processing.AClassInformationProcessor<TResultData>
All Implemented Interfaces:
org.pf.bif.filter.IObjectFilter, IAnalyzableElementProcessor<ClassInformation>, IClassInformationProcessor<TResultData>
Direct Known Subclasses:
ClassDuplicatesDetector, MainClassDetector

public abstract class AClassInformationProcessor<TResultData>
extends java.lang.Object
implements IClassInformationProcessor<TResultData>

Generic filter for ClassInformation objects. Subclasses must implement the methods of interface IClassInformationProcessor.

Version:
1.0
Author:
M.Duchrow

Constructor Summary
AClassInformationProcessor()
          Initialize the new instance with default values.
 
Method Summary
 TResultData getResultData()
          Returns any data that has been produced during the processing.
 boolean matches(java.lang.Object object)
          Returns false if the given object is no ClassInformation, otherwise it calls method matches(ClassInformation).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pf.tools.cda.base.model.processing.IAnalyzableElementProcessor
matches, process
 

Constructor Detail

AClassInformationProcessor

public AClassInformationProcessor()
Initialize the new instance with default values.

Method Detail

matches

public boolean matches(java.lang.Object object)
Returns false if the given object is no ClassInformation, otherwise it calls method matches(ClassInformation).

Specified by:
matches in interface org.pf.bif.filter.IObjectFilter
Parameters:
object - The object to be checked against this ClassInformation filter

getResultData

public TResultData getResultData()
Returns any data that has been produced during the processing. Here it always returns null. Subclasses may override this method to return something meaningful.

Specified by:
getResultData in interface IClassInformationProcessor<TResultData>
Returns:
null if nothing special was collected or calculated.