Class WebXmlImpl

java.lang.Object
de.ipb_halle.molecularfaces.util.WebXmlImpl
All Implemented Interfaces:
WebXml

public class WebXmlImpl extends Object implements WebXml
This class implements methods to obtain information from web.xml.
  • Constructor Details

    • WebXmlImpl

      public WebXmlImpl()
  • Method Details

    • getContextParam

      public String getContextParam(String paramName, jakarta.faces.context.FacesContext context, String defaultValue)
      Description copied from interface: WebXml
      Obtains the param-value for the context-param given by param-name via the given FacesContext instance.
      Specified by:
      getContextParam in interface WebXml
      Parameters:
      paramName - param-name of the context-param element in web.xml
      context - FacesContext instance
      defaultValue - default value to return if the context-param does not exist
      Returns:
      param-value or defaultValue