Lifetime And Scope
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| 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_CACKE_KEY
RegEx patterns |
| private static boolean | unitTestModeEnabled
Flag that, when true, enables special behavior in the RI to enable unit testing. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| 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 SAXParserFactory | |
| public static SchemaFactory | |
| public static TransformerFactory | |
| public static String | |
| public static BeanManager | 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)PRECONDITION: argument |
| 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 String | |
| 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 String | Returns: the URL pattern of thejavax.faces.webapp.FacesServlet
or null if no mapping can be determinedthe context)FacesContext of the current requestReturns the URL pattern of the
|
| private static Collection | |
| public static FeatureDescriptor | |
| public static String | |
| public static long | |
| public static Object | Returns: aListener instance based off the provided
type and the type, ValueExpression Listener typea binding)ValueExpression which resolves
to a Listener instanceFactory method for creating the varius JSF 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 | |
| private static String | Returns: the appropriate mapping based on the current requestthe external context of the request externalContext, String the servlet path of the request servletPath, String the path info of the request pathInfo)Return the appropriate |
| 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 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 | Returns: true if available, false otherwise.the Faces context to consult. facesContext)Is CDI available. |
| public static boolean | Returns: true if available, false otherwise.the servlet context. servletContext)Is CDI available (ServletContext variant) |
| public static boolean | Returns: true if CDI 1.1 or later, false otherwise.the Faces context. facesContext)Is CDI 1.1 or later |
| 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 | Returns: true if the mapping starts with/a mapping)url-patternReturns true if the provided |
| 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-patternReturns 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 | |
| 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 synchronized 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 synchronized 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 |