|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.parser.java.v2.util.filter.OrFilter
public class OrFilter
An OrFilter is a SourceFilter that accepts an element if at least one of the input filters accepts the element.
Constructor Summary | |
---|---|
OrFilter(JavaFilter[] filters)
|
|
OrFilter(JavaFilter one,
JavaFilter two)
Convenience constructor that creates an OrFilter from two other filters. |
Method Summary | |
---|---|
boolean |
accepts(JavaElement element)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrFilter(JavaFilter[] filters)
filters
- Must have at least length of at least one.
java.lang.IllegalArgumentException
- if the input is null or if the input
is a 0-length array.public OrFilter(JavaFilter one, JavaFilter two)
one
- Require non-null.two
- Require non-null.Method Detail |
---|
public boolean accepts(JavaElement element)
accepts
in interface JavaFilter
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |