ter.API.EngineSearch
Class MethodCriterion

java.lang.Object
  |
  +--ter.API.EngineSearch.Criterion
        |
        +--ter.API.EngineSearch.MethodCriterion

public class MethodCriterion
extends Criterion

Title: MethodCriterion

Description: this criterion select if the member is a method

Copyright: Copyright (c) 2003

Company: UNICE

Version:
1.0
Author:
Zerbib Gabriel - Charbit Lucas - Galbois Xavier - Gahide Jérôme

Constructor Summary
MethodCriterion()
          Construct a new instance of this criterion.
 
Method Summary
 boolean isCriterionValid(java.lang.reflect.Member m)
          test if the member matches to this criterion.
 
Methods inherited from class ter.API.EngineSearch.Criterion
addNonCompatibilityCriterion, getLogicalLink, getName, getNonCompatibilityCriterion, isAdditionnalGraphicsComponent, isCriterionUseable, setLogicalLink, setUseCriterion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodCriterion

public MethodCriterion()
Construct a new instance of this criterion. This overwrite the name of the criterion

Method Detail

isCriterionValid

public boolean isCriterionValid(java.lang.reflect.Member m)
                         throws SearchEngineException
test if the member matches to this criterion.

Specified by:
isCriterionValid in class Criterion
Parameters:
m - the member that we want to check the validity.
Returns:
true if the Criterion is Valid for this Member
Throws:
SearchEngineException