com.servingxml.components.recordio
Class FieldRestriction

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

public class FieldRestriction
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
FieldRestriction(Name fieldName, PatternMatcher matcher)
           
 
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

FieldRestriction

public FieldRestriction(Name fieldName,
                        PatternMatcher matcher)
Method Detail

accept

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