Class 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  
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _paramMap

        private java.util.Map _paramMap
    • 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