Package de.ipb_halle.molecularfaces.util
Class WebXmlImpl
java.lang.Object
de.ipb_halle.molecularfaces.util.WebXmlImpl
- All Implemented Interfaces:
WebXml
This class implements methods to obtain information from web.xml.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContextParam(String paramName, jakarta.faces.context.FacesContext context, String defaultValue) Obtains theparam-valuefor thecontext-paramgiven byparam-namevia the givenFacesContextinstance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.ipb_halle.molecularfaces.util.WebXml
getContextParam, isContextParamTrue, isContextParamTrue
-
Constructor Details
-
WebXmlImpl
public WebXmlImpl()
-
-
Method Details
-
getContextParam
public String getContextParam(String paramName, jakarta.faces.context.FacesContext context, String defaultValue) Description copied from interface:WebXmlObtains theparam-valuefor thecontext-paramgiven byparam-namevia the givenFacesContextinstance.- Specified by:
getContextParamin interfaceWebXml- Parameters:
paramName-param-nameof thecontext-paramelement in web.xmlcontext-FacesContextinstancedefaultValue- default value to return if thecontext-paramdoes not exist- Returns:
param-valueordefaultValue
-