Package net.didion.jwnl.util.factory
Class AbstractValueParam
- java.lang.Object
-
- 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
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map
_paramMap
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractValueParam()
protected
AbstractValueParam(Param[] params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
AbstractValueParam
protected AbstractValueParam()
-
AbstractValueParam
protected AbstractValueParam(Param[] params)
-
-
Method Detail
-
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 interfaceParam
- Throws:
JWNLException
-
-