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 protected
AbstractDelegatingOperation()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addDelegate(String key, Operation[] operations)
Object
create(Map params)
protected boolean
delegate(POS pos, String lemma, BaseFormSet forms, String key)
protected abstract AbstractDelegatingOperation
getInstance(Map params)
protected abstract String[]
getKeys()
protected boolean
hasDelegate(String key)
-
-
-
Method Detail
-
create
public Object create(Map params) throws JWNLException
- Specified by:
create
in 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
-
-