Package net.didion.jwnl.dictionary.morph
Class AbstractDelegatingOperation
- java.lang.Object
-
- net.didion.jwnl.dictionary.morph.AbstractDelegatingOperation
-
- All Implemented Interfaces:
Operation,Createable
- Direct Known Subclasses:
DetachSuffixesOperation,TokenizerOperation
public abstract class AbstractDelegatingOperation extends Object implements Operation
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractDelegatingOperation()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddDelegate(String key, Operation[] operations)Objectcreate(Map params)protected booleandelegate(POS pos, String lemma, BaseFormSet forms, String key)protected abstract AbstractDelegatingOperationgetInstance(Map params)protected abstract String[]getKeys()protected booleanhasDelegate(String key)
-
-
-
Method Detail
-
create
public Object create(Map params) throws JWNLException
- Specified by:
createin interfaceCreateable- Throws:
JWNLException
-
getKeys
protected abstract String[] getKeys()
-
getInstance
protected abstract AbstractDelegatingOperation getInstance(Map params) throws JWNLException
- Throws:
JWNLException
-
hasDelegate
protected boolean hasDelegate(String key)
-
delegate
protected boolean delegate(POS pos, String lemma, BaseFormSet forms, String key) throws JWNLException
- Throws:
JWNLException
-
-