org.pf.tools.cda.base.model.processing
Interface IAnalyzableElementProcessor<TAnalyzableElement extends IAnalyzableElement>

All Superinterfaces:
org.pf.bif.filter.IObjectFilter
All Known Subinterfaces:
IClassContainerProcessor, IClassInformationProcessor<TResultData>, IClassPackageProcessor, IMutableAnalyzableElementProcessor<E>, IMutableClassContainerProcessor, IMutableClassInformationProcessor<TResultData>, IMutableClassPackageProcessor, ISoftwareComponentProcessor
All Known Implementing Classes:
AClassContainerProcessor, AClassDependencyDetector, AClassInformationProcessor, AClassPackageProcessor, AnalyzableElementDependantsDetector, ASoftwareComponentProcessor, ClassDependantsDetector, ClassDuplicatesDetector, ContainerDependantsDetector, InterfaceImplementorsDetector, MainClassDetector, PackageDependantsDetector

public interface IAnalyzableElementProcessor<TAnalyzableElement extends IAnalyzableElement>
extends org.pf.bif.filter.IObjectFilter

A processor that is used as callback for an iteration over a specific subtype of IAnalyzableElement.

Version:
1.0
Author:
M.Duchrow

Method Summary
 boolean matches(TAnalyzableElement element)
          Returns true if the given element object matches the filter, otherwise false.
 boolean process(TAnalyzableElement element)
          Will be called to do the processing on the given element.
 
Methods inherited from interface org.pf.bif.filter.IObjectFilter
matches
 

Method Detail

matches

boolean matches(TAnalyzableElement element)
Returns true if the given element object matches the filter, otherwise false.

Parameters:
element - Any element object or even null

process

boolean process(TAnalyzableElement element)
Will be called to do the processing on the given element.

Parameters:
element - The element object to be processed
Returns:
true if processing should continue, false if processing should stop