com.servingxml.components.recordio
Class AndRestriction

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

public class AndRestriction
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
AndRestriction(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

AndRestriction

public AndRestriction(Restriction[] criteria)
Method Detail

accept

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