| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final Logger | |
| private static final String | PATTERN_CACHE_KEY
RegEx patterns |
| public static final Map | |
| private static boolean | unitTestModeEnabled
Flag that, when true, enables special behavior in Mojarra to enable unit testing. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | checkIdUniqueness(FacesContext context, UIComponent component, Set<String> componentIds)
Utility method to validate ID uniqueness for the tree represented by |
| public static boolean | |
| public static < The generic object type. T> T | Returns: The first non-null object of the argument list, or null if there is no such
element.The argument list of objects to be tested for non- objects)null.Returns the first non- |
| public static boolean | |
| public static boolean | |
| public static DocumentBuilderFactory | |
| public static DocumentBuilderFactory | |
| public static SAXParserFactory | |
| public static SchemaFactory | |
| public static TransformerFactory | |
| public static String | |
| public static int | Returns: first numeric segment from given client ID.the client ID clientId, char the separator character separatorChar)Extract first numeric segment from given client ID.
|
| public static String | |
| public static String | |
| public static ELAwareBeanManager | Returns: the CDI bean manager.the Faces context to consult facesContext)Get the CDI bean manager. |
| public static String | |
| public static String | Returns: the content type of the responsethe current response response)This method allows us to get the contentType in both the servlet and portlet cases, without introducing a compile-time dependency on the portlet api. |
| private static ClassLoader | |
| public static ClassLoader | getContextClassLoader2()
Identify and return the class loader that is associated with the calling web application. |
| public static Converter | |
| public static Converter | |
| public static ClassLoader | |
| public static Doctype | |
| private static ServletRegistration | |
| public static String | Returns: the version found, or "" if none found.the Faces context. facesContext)Get the faces-config.xml version (if any). |
| public static HttpServletMapping | Returns: the URL pattern of thejakarta. or null if no mapping can be
determinedthe context)FacesContext of the current request
Returns the URL pattern of the |
| private static Collection | |
| public static Optional | |
| public static HttpServletMapping | |
| public static long | |
| public static Object | Returns: aListener instance based off the provided type and bindingthe type, ValueExpression Listener typea binding)ValueExpression which resolves to a Listener instance
Factory method for creating the various Faces listener instances that may be referenced by |
| public static Locale | Returns: the Locale from the UIViewRoot, the the value of Locale.getDefault()the context)FacesContext for the current request
|
| public static Locale | |
| public static String | Returns: The naming container prefix, or an empty string if the view root is not an instance of naming container.Involved faces context. context)If view root is instance of naming container, return its container client id, suffixed with separator character. |
| private static Map | |
| private static Map | |
| public static String | Returns: the encoding to be used for the responsethe context)FacesContext for the current request
|
| public static String | Returns: the encoding to be used for the responsethe context, Optional<String> FacesContext for the current requestthe default encoding, if any defaultEncoding)
|
| public static String | Returns: the String representation ofthe stack trace obtained by calling getStackTrace() on the passed in exception. If null is passed in, we return the empty String.the Throwable to obtain the stacktrace from e)Leverage the Throwable.getStackTrace() method to produce a String version of the stack trace, with a "\n" before each line. |
| public static StateManager | |
| public static Class | |
| public static ValueExpression | |
| public static ViewHandler | |
| public static String | |
| public static String | Returns: the version found, or "" if none found.the Faces context. facesContext)Get the web.xml version (if any). |
| public static String | |
| public static int | Returns: starting atfromIndex, the index of the first occurrence of any substring from set
in toSearch, or -1 if no such match is foundlocal string str, char[] the substring set, int starting index fromIndex)
|
| public static boolean | Returns: True if all values are empty, false otherwisethe values to be checked on emptiness values)Returns true if all values are empty, false if at least one value is not empty. |
| public static boolean | |
| public static boolean | Returns: true if any value is empty and false if no values are emptythe values to be checked on emptiness values)Returns |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | Returns: true if the given collection is null or is empty.The collection to be checked on emptiness. collection)Returns |
| public static boolean | |
| public static boolean | |
| public static < The generic object type. T> boolean | Returns: true if the given object equals one of the given objects.The object to be checked if it equals one of the given objects. object, T... The argument list of objects to be tested for equality. objects)Returns |
| public static boolean | isPortletRequest(FacesContext
the context)FacesContext associated with the request.
Convenience method for determining if the request associated with the specified |
| public static boolean | Returns: true if the mapping starts with/a mapping)url-pattern
Returns true if the provided |
| public static boolean | Returns: true if the FacesServlet is exact mapped to the given resource, false otherwisethe external context for this request externalContext, String the resource to test resource)Checks if the FacesServlet is exact mapped to the given resource. |
| public static boolean | |
| public static boolean | |
| public static boolean | Returns: true if the FacesServlet is exact mapped to the given viewId, false otherwisethe view id to test viewId)Checks if the FacesServlet is exact mapped to the given resource. |
| public static boolean | isViewPopulated(FacesContext
the ctx, UIViewRoot FacesContext for the current requestthe viewToRender)UIViewRoot to check
|
| public static Class | |
| public static Class | |
| public static <T> T | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static <T> List | |
| public static void | |
| public static void | |
| private static <F> void | |
| private static <F> void | |
| public static void | |
| public static void | setViewPopulated(FacesContext
the ctx, UIViewRoot FacesContext for the current requestthe viewToRender)UIViewRoot to mark as populated
Flag the specified |
| public static String[] | Returns: the result ofPattern.spit(String, int)the Application Map appMap, String the string to split toSplit, String the regex used for splitting regex)
A slightly more efficient version of |
| public static String[] | Returns: the result ofPattern.spit(String, int)the Application Map appMap, String the string to split toSplit, String the regex used for splitting regex, int split result threshold splitLimit)A slightly more efficient version of
|
| public static String[] | |
| public static boolean | Returns: true if the given string starts with one of the given prefixes.The object to be checked if it starts with one of the given prefixes. string, String... The argument list of prefixes to be checked prefixes)Returns |
| public static <T> Stream | |
| public static <E> Set | |
| private static ELAwareBeanManager |