com.canoo.ant.filter
Class ATableFilter

java.lang.Object
  extended by com.canoo.ant.filter.ATableFilter
All Implemented Interfaces:
ITableFilter
Direct Known Subclasses:
AllEqualsFilter, FirstEqualsFilter, GroupFilter

public abstract class ATableFilter
extends Object
implements ITableFilter


Constructor Summary
protected ATableFilter()
           
protected ATableFilter(String foreignName)
           
 
Method Summary
 List filter(List original, String expected)
           
protected abstract  boolean matches(String expected, String runningValue)
           
protected  void reset()
           
 void setForeignName(String foreignName)
           
protected abstract  boolean stopOnMatch()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ATableFilter

protected ATableFilter()

ATableFilter

protected ATableFilter(String foreignName)
Method Detail

setForeignName

public void setForeignName(String foreignName)
Specified by:
setForeignName in interface ITableFilter

filter

public List filter(List original,
                   String expected)
Specified by:
filter in interface ITableFilter
Returns:
a new List of Properties that matches the criteria of this specific filter

reset

protected void reset()

matches

protected abstract boolean matches(String expected,
                                   String runningValue)

stopOnMatch

protected abstract boolean stopOnMatch()

Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved.