SMILA (incubation) API documentation

org.eclipse.smila.datamodel.tools.record.filter
Class RecordFilterUtils

java.lang.Object
  extended by org.eclipse.smila.datamodel.tools.record.filter.RecordFilterUtils

public final class RecordFilterUtils
extends java.lang.Object

The Class RecordFilterHelper.


Method Summary
static MObject filter(Filter filter, MObject source, RecordFactory recordFactory)
          Filter.
static Record filter(Filter filter, Record record)
          Filter.
static Filter findFilter(RecordFilters filters, java.lang.String name)
          Find filter.
static void marshall(RecordFilters recordFilters, java.io.OutputStream outputStream)
          Marshall.
static RecordFilters unmarshall(java.io.InputStream inputStream)
          Unmarshall.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

unmarshall

public static RecordFilters unmarshall(java.io.InputStream inputStream)
                                throws RecordFilterLoadSaveException
Unmarshall.

Parameters:
inputStream - the input stream
Returns:
the record filters
Throws:
RecordFilterLoadSaveException - the record filter load exception

marshall

public static void marshall(RecordFilters recordFilters,
                            java.io.OutputStream outputStream)
                     throws RecordFilterLoadSaveException
Marshall.

Parameters:
recordFilters - the record filters
outputStream - the output stream
Throws:
RecordFilterLoadSaveException - the record filter load save exception

findFilter

public static Filter findFilter(RecordFilters filters,
                                java.lang.String name)
                         throws RecordFilterNotFoundException
Find filter.

Parameters:
filters - the filters
name - the name
Returns:
the filter
Throws:
RecordFilterNotFoundException - the record filter not found exception

filter

public static Record filter(Filter filter,
                            Record record)
Filter.

Parameters:
filter - the record filter
record - the record
Returns:
the record

filter

public static MObject filter(Filter filter,
                             MObject source,
                             RecordFactory recordFactory)
Filter.

Parameters:
filter - the record filter
source - the mobject
recordFactory - the record factory
Returns:
the m object

SMILA (incubation) API documentation