|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
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 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |