public abstract class SimpleCDXRecordFilter extends Object implements CDXRecordFilter
Constructor and Description |
---|
SimpleCDXRecordFilter(String filtername) |
Modifier and Type | Method and Description |
---|---|
String |
getFilterName() |
abstract boolean |
process(CDXRecord cdxrec)
Process one CDXRecord - return true/false.
|
public SimpleCDXRecordFilter(String filtername) throws ArgumentNotValid
filtername
- - the name of the filterArgumentNotValid
- If 'filtername' equals null or the empty stringpublic String getFilterName()
getFilterName
in interface CDXRecordFilter
public abstract boolean process(CDXRecord cdxrec)
CDXRecordFilter
process
in interface CDXRecordFilter
cdxrec
- the CDXRecord to be processed.Copyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.