com.servingxml.components.recordio
Class OrRestriction

java.lang.Object
  extended by com.servingxml.components.recordio.OrRestriction
All Implemented Interfaces:
Restriction

public class OrRestriction
extends java.lang.Object
implements Restriction


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.servingxml.components.recordio.Restriction
Restriction.AlwaysAccept
 
Field Summary
 
Fields inherited from interface com.servingxml.components.recordio.Restriction
ALWAYS_ACCEPT, EMPTY_ARRAY
 
Constructor Summary
OrRestriction(Restriction[] criteria)
           
 
Method Summary
 boolean accept(ServiceContext context, Flow flow, Value value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrRestriction

public OrRestriction(Restriction[] criteria)
Method Detail

accept

public boolean accept(ServiceContext context,
                      Flow flow,
                      Value value)
Specified by:
accept in interface Restriction