net.didion.jwnl.util.factory
Class AbstractValueParam

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

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


Constructor Summary
protected AbstractValueParam()
           
protected AbstractValueParam(Param[] params)
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.didion.jwnl.util.factory.Param
getName, getValue
 

Constructor Detail

AbstractValueParam

protected AbstractValueParam()

AbstractValueParam

protected AbstractValueParam(Param[] params)
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



JWNL homepage.