Class RichletConfigImpl

java.lang.Object
org.zkoss.zk.ui.impl.RichletConfigImpl
All Implemented Interfaces:
RichletConfig

public class RichletConfigImpl extends Object implements RichletConfig
An implementation of RichletConfig.
Author:
tomyeh
  • Constructor Details

    • RichletConfigImpl

      public RichletConfigImpl(WebApp wapp, Map<String,String> params)
      Parameters:
      wapp - the WebApp that this config belongs to (never null).
      params - the initial parameters. Empty is assumed if null.
  • Method Details

    • getWebApp

      public WebApp getWebApp()
      Description copied from interface: RichletConfig
      Returns the web application that the richlet belongs to.
      Specified by:
      getWebApp in interface RichletConfig
    • getInitParameter

      public String getInitParameter(String name)
      Description copied from interface: RichletConfig
      Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
      Specified by:
      getInitParameter in interface RichletConfig
    • getInitParameterNames

      public Iterable<String> getInitParameterNames()
      Description copied from interface: RichletConfig
      Returns the names of the richlet's initialization parameters as an iterable String objects (never null).
      Specified by:
      getInitParameterNames in interface RichletConfig