|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.util.ContainerUtils
public class ContainerUtils
Utilities for determining the current container and for the unified expression language.
Constructor Summary | |
---|---|
ContainerUtils()
|
Method Summary | |
---|---|
static boolean |
isJsp21()
Determines whether we're running in a Servlet 2.5/JSP 2.1 environment. |
static boolean |
isValueReference(java.lang.String value)
Return true if the specified string contains an EL expression. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContainerUtils()
Method Detail |
---|
public static boolean isJsp21()
true
if we're running in a JSP 2.1 environment,
false
otherwisepublic static boolean isValueReference(java.lang.String value)
NOTICE This method is just a copy of
UIComponentTag#isValueReference(String)
, but it's required
because the class UIComponentTag depends on a JSP 2.1 container
(for example, it indirectly implements the interface JspIdConsumer)
and therefore internal classes shouldn't access this class. That's
also the reason why this method is inside the class ContainerUtils,
because it allows MyFaces to be independent of a JSP 2.1 container.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |