Package org.openxava.filters
Class CompositeFilter
- java.lang.Object
-
- org.openxava.filters.CompositeFilter
-
- All Implemented Interfaces:
java.io.Serializable
,IFilter
public class CompositeFilter extends java.lang.Object implements IFilter
To sum two IFilter.Used in
Calendar
to nest filters.- Since:
- 7.1.5
- Author:
- Chungyen Tsai
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompositeFilter(IFilter oldFilter, IFilter newFilter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
filter(java.lang.Object o)
static java.lang.Object[]
sumArrays(java.lang.Object[] arr1, java.lang.Object[] arr2)
-
-
-
Method Detail
-
filter
public java.lang.Object filter(java.lang.Object o) throws FilterException
- Specified by:
filter
in interfaceIFilter
- Parameters:
o
- Argument to filter. A object.- Returns:
- Argument filtered. Can be a object array.
- Throws:
FilterException
- Any problem.
-
sumArrays
public static java.lang.Object[] sumArrays(java.lang.Object[] arr1, java.lang.Object[] arr2)
-
-