net.didion.jwnl.dictionary.morph
Class AbstractDelegatingOperation

java.lang.Object
  extended by 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
protected AbstractDelegatingOperation()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.didion.jwnl.dictionary.morph.Operation
execute
 

Constructor Detail

AbstractDelegatingOperation

protected AbstractDelegatingOperation()
Method Detail

create

public Object create(Map params)
              throws JWNLException
Specified by:
create in interface Createable
Throws:
JWNLException

addDelegate

public void addDelegate(String key,
                        Operation[] operations)

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


Copyright © 2011. All Rights Reserved.