org.apache.xbean.finder.filter
Class IncludeExcludeFilter
java.lang.Object
org.apache.xbean.finder.filter.IncludeExcludeFilter
- All Implemented Interfaces:
- Filter
public class IncludeExcludeFilter
- extends java.lang.Object
- implements Filter
First, all Include directives are evaluated; at least one must match, or the className is rejected.
Next, all Exclude directives are evaluated. If any matches, the className is rejected.
Last, any classNames which do not match an Include or a Exclude directive are denied by default.
|
Method Summary |
boolean |
accept(java.lang.String name)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IncludeExcludeFilter
public IncludeExcludeFilter(Filter include,
Filter exclude)
accept
public boolean accept(java.lang.String name)
- Specified by:
accept in interface Filter
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.