org.apache.xbean.finder.filter
Class ExcludeIncludeFilter
java.lang.Object
org.apache.xbean.finder.filter.ExcludeIncludeFilter
- All Implemented Interfaces:
- Filter
public class ExcludeIncludeFilter
- extends java.lang.Object
- implements Filter
First, all Exclude directives are evaluated; if any match, the className is denied unless it also matches an Include directive.
Any classNames which do not match any Include or Exclude directives are permitted.
|
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 |
ExcludeIncludeFilter
public ExcludeIncludeFilter(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-2011 The Apache Software Foundation. All Rights Reserved.