textmaven.application.analyzer.extractor
Class CompositeExclusionList

java.lang.Object
  extended bytextmaven.application.analyzer.extractor.CompositeExclusionList
All Implemented Interfaces:
IExclusionList

public class CompositeExclusionList
extends java.lang.Object
implements IExclusionList

ExclusionList which may be composed out of more than one exclusion list.

Author:
krebtho

Constructor Summary
CompositeExclusionList()
           
 
Method Summary
 void add(IExclusionList list)
          Adds specified exclusion list
 boolean containsWord(java.lang.String word)
          Checks whether a given word is contained in the exclusion list.
 java.lang.String getId()
          Gets id of exclusion list
 void remove(IExclusionList list)
          Removes specified exclusion list from this instance, if it exists.
 void removeAll()
          Removes all exclusion lists from this instance.
 void setId(java.lang.String id)
          Sets the identification for the list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeExclusionList

public CompositeExclusionList()
Method Detail

containsWord

public boolean containsWord(java.lang.String word)
Description copied from interface: IExclusionList
Checks whether a given word is contained in the exclusion list.

Specified by:
containsWord in interface IExclusionList
Parameters:
word -
Returns:
boolean true if word was found, else false.

add

public void add(IExclusionList list)
Adds specified exclusion list

Parameters:
list - exclusion list to be added

removeAll

public void removeAll()
Removes all exclusion lists from this instance.


remove

public void remove(IExclusionList list)
Removes specified exclusion list from this instance, if it exists. If it does not exist the method silently returns.

Parameters:
list - exclusion list to be removed

setId

public void setId(java.lang.String id)
Description copied from interface: IExclusionList
Sets the identification for the list

Specified by:
setId in interface IExclusionList
Parameters:
id -

getId

public java.lang.String getId()
Description copied from interface: IExclusionList
Gets id of exclusion list

Specified by:
getId in interface IExclusionList
Returns:
id


Copyright © 2002-2005 Sourceforge. All Rights Reserved.