org.lexgrid.loader.reader.support
Class CompoundSkipPolicy<I>

java.lang.Object
  extended by org.lexgrid.loader.reader.support.CompoundSkipPolicy<I>
Type Parameters:
I - *
All Implemented Interfaces:
SkipPolicy<I>

public class CompoundSkipPolicy<I>
extends java.lang.Object
implements SkipPolicy<I>

Will iterate through a list of Skip Policies. If ANY of the Skip policies indicates that record should be skipped, it will be.

Author:
m005256

Constructor Summary
CompoundSkipPolicy()
           
 
Method Summary
 boolean toSkip(I item)
          To skip.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundSkipPolicy

public CompoundSkipPolicy()
Method Detail

toSkip

public boolean toSkip(I item)
Description copied from interface: SkipPolicy
To skip.

Specified by:
toSkip in interface SkipPolicy<I>
Parameters:
item - the item
Returns:
true, if successful

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.