com.atomikos.beans
Interface MemberFilter

All Known Implementing Classes:
DefaultMemberFilter, MainMethodFilter

public interface MemberFilter

A filter for restricting which members (fields, constructors, methods) are returned by the ClassInspector.


Method Summary
 boolean acceptsConstructor(Constructor constructor)
          Test if the filter accepts this constructor.
 boolean acceptsField(Field field)
          Test if the filter accepts a field.
 boolean acceptsMethod(Method method)
          Test if the filter accepts a method.
 

Method Detail

acceptsField

boolean acceptsField(Field field)
Test if the filter accepts a field.

Parameters:
field - The field
Returns:
boolean True iff acceptable.

acceptsMethod

boolean acceptsMethod(Method method)
Test if the filter accepts a method.

Parameters:
method - The method.
Returns:
boolean True iff acceptable.

acceptsConstructor

boolean acceptsConstructor(Constructor constructor)
Test if the filter accepts this constructor.

Parameters:
constructor - The constructor.
Returns:
boolean True iff acceptable.


Copyright © 2011. All Rights Reserved.