net.didion.jwnl.util.factory
Class AbstractValueParam

java.lang.Object
  extended by net.didion.jwnl.util.factory.AbstractValueParam
All Implemented Interfaces:
Param
Direct Known Subclasses:
NameValueParam, ValueParam

public abstract class AbstractValueParam
extends java.lang.Object
implements Param


Method Summary
 void addParam(Param param)
           
 java.lang.Object create()
          If the value of this parameter is a class name, and that class is creatable, this method will create an instance of it using this Param's parameters.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.didion.jwnl.util.factory.Param
getName, getValue
 

Method Detail

addParam

public void addParam(Param param)
Specified by:
addParam in interface Param

create

public java.lang.Object create()
                        throws JWNLException
If the value of this parameter is a class name, and that class is creatable, this method will create an instance of it using this Param's parameters.

Specified by:
create in interface Param
Throws:
JWNLException