public class FilterDataBridge extends REFDataBridge
DataBridge which filters the DataElements that are appended to it depending their ContentType.| Modifier and Type | Field and Description |
|---|---|
protected ContentType |
filterContentType
The ContentType with which the FilterDataBridge checks the elements of the source
DataSource. |
protected DataSource |
source
The source from which the FilterDataBridge retrieves
DataElements. |
| Constructor and Description |
|---|
FilterDataBridge(DataSource source,
ContentType filterContentType)
Creates a new FilterDataBridge.
|
append, close, getOutput, hasNext, isClosed, next, nextContentTypeprotected DataSource source
DataElements.protected ContentType filterContentType
DataSource.public FilterDataBridge(DataSource source, ContentType filterContentType) throws Exception
source - The source from which the FilterDataBridge retrieves DataElements.filterContentType - The ContentType with which the FilterDataBridge checks the elements of the source DataSource.Exception - If source or filterContentType are not properly set.Copyright © 2014. All Rights Reserved.