net.sf.extjwnl.util.factory
Class AbstractValueParam

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

public abstract class AbstractValueParam
extends Object
implements Param

Base class for configuration parameters.

Author:
John Didion , Aliaksandr Autayeu

Field Summary
protected  Dictionary dictionary
           
 
Constructor Summary
protected AbstractValueParam(Dictionary dictionary)
           
protected AbstractValueParam(Dictionary dictionary, List<Param> params)
           
 
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 parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.extjwnl.util.factory.Param
getName, getValue
 

Field Detail

dictionary

protected Dictionary dictionary
Constructor Detail

AbstractValueParam

protected AbstractValueParam(Dictionary dictionary)

AbstractValueParam

protected AbstractValueParam(Dictionary dictionary,
                             List<Param> params)
Method Detail

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 parameters.

Specified by:
create in interface Param
Throws:
JWNLException


Copyright © 2011. All Rights Reserved.