org.databene.benerator.util
Class FilterExIterator<E>

java.lang.Object
  extended by org.databene.webdecs.util.DataIteratorAdapter<E,E>
      extended by org.databene.webdecs.util.DataIteratorProxy<E>
          extended by org.databene.benerator.util.FilterExIterator<E>
All Implemented Interfaces:
java.io.Closeable, org.databene.webdecs.DataIterator<E>

public class FilterExIterator<E>
extends org.databene.webdecs.util.DataIteratorProxy<E>

Iterator proxy which filters its source's output with a (boolean) filter expression.

Created: 08.03.2011 11:51:51

Since:
0.5.8
Author:
Volker Bergmann

Field Summary
 
Fields inherited from class org.databene.webdecs.util.DataIteratorAdapter
source
 
Constructor Summary
FilterExIterator(org.databene.webdecs.DataIterator<E> source, org.databene.script.Expression<java.lang.Boolean> filterEx, org.databene.commons.Context context)
           
 
Method Summary
 org.databene.webdecs.DataContainer<E> next(org.databene.webdecs.DataContainer<E> wrapper)
           
 
Methods inherited from class org.databene.webdecs.util.DataIteratorProxy
getType
 
Methods inherited from class org.databene.webdecs.util.DataIteratorAdapter
close, getSourceContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterExIterator

public FilterExIterator(org.databene.webdecs.DataIterator<E> source,
                        org.databene.script.Expression<java.lang.Boolean> filterEx,
                        org.databene.commons.Context context)
Method Detail

next

public org.databene.webdecs.DataContainer<E> next(org.databene.webdecs.DataContainer<E> wrapper)
Specified by:
next in interface org.databene.webdecs.DataIterator<E>
Overrides:
next in class org.databene.webdecs.util.DataIteratorProxy<E>


Copyright © 2013. All Rights Reserved.