org.apache.uima.simpleserver.config.impl
Class SimpleFilterImpl

java.lang.Object
  extended by org.apache.uima.simpleserver.config.impl.FilterImpl
      extended by org.apache.uima.simpleserver.config.impl.SimpleFilterImpl
All Implemented Interfaces:
Filter, SimpleFilter

public class SimpleFilterImpl
extends FilterImpl
implements SimpleFilter

Implementation of Filter interface.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.uima.simpleserver.config.Filter
Filter.FilterType
 
Constructor Summary
SimpleFilterImpl(List<String> path, Condition condition)
           
 
Method Summary
 Condition getCondition()
           
 List<String> getFeaturePath()
           
 boolean match(org.apache.uima.cas.FeatureStructure fs)
           
 
Methods inherited from class org.apache.uima.simpleserver.config.impl.FilterImpl
getFilterType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.uima.simpleserver.config.Filter
getFilterType
 

Constructor Detail

SimpleFilterImpl

public SimpleFilterImpl(List<String> path,
                        Condition condition)
Method Detail

getCondition

public Condition getCondition()
Specified by:
getCondition in interface SimpleFilter

getFeaturePath

public List<String> getFeaturePath()
Specified by:
getFeaturePath in interface SimpleFilter

match

public boolean match(org.apache.uima.cas.FeatureStructure fs)
Specified by:
match in interface Filter
Specified by:
match in class FilterImpl


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.