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 Object
- implements Param
|
Method Summary |
void |
addParam(Param param)
|
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 |
AbstractValueParam
protected AbstractValueParam()
AbstractValueParam
protected AbstractValueParam(Param[] params)
addParam
public void addParam(Param param)
- Specified by:
addParam in interface Param
create
public 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
Copyright © 2011. All Rights Reserved.