net.sf.extjwnl.dictionary.morph
Class AbstractDelegatingOperation
java.lang.Object
net.sf.extjwnl.dictionary.morph.AbstractOperation
net.sf.extjwnl.dictionary.morph.AbstractDelegatingOperation
- All Implemented Interfaces:
- Operation, Owned
- Direct Known Subclasses:
- DetachSuffixesOperation, TokenizerOperation
public abstract class AbstractDelegatingOperation
- extends AbstractOperation
Base class for operations.
- Author:
- John Didion , Aliaksandr Autayeu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.extjwnl.dictionary.morph.Operation |
execute |
params
protected Map<String,Param> params
AbstractDelegatingOperation
public AbstractDelegatingOperation(Dictionary dictionary,
Map<String,Param> params)
throws JWNLException
- Throws:
JWNLException
addDelegate
public void addDelegate(String key,
Operation[] operations)
getKeys
protected abstract String[] getKeys()
hasDelegate
protected boolean hasDelegate(String key)
delegate
protected boolean delegate(POS pos,
String lemma,
BaseFormSet forms,
String key)
throws JWNLException
- Throws:
JWNLException
Copyright © 2011. All Rights Reserved.