|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.web.util.TagUtils
Utility class to transform Strings to scopes:
page
will be transformed to
PageContext.PAGE_SCOPE
request
will be transformed to
PageContext.REQUEST_SCOPE
session
will be transformed to
PageContext.SESSION_SCOPE
application
will be transformed to
PageContext.APPLICATION_SCOPE
Field Summary | |
static java.lang.String |
SCOPE_APPLICATION
constant identifying the application scope String |
static java.lang.String |
SCOPE_PAGE
constant identifying the page scope String |
static java.lang.String |
SCOPE_REQUEST
constant identifying the request scope String |
static java.lang.String |
SCOPE_SESSION
constant identifying the session scope String |
Constructor Summary | |
TagUtils()
|
Method Summary | |
static int |
getScope(java.lang.String scope)
Determines the scope for a given input String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SCOPE_PAGE
public static final java.lang.String SCOPE_REQUEST
public static final java.lang.String SCOPE_SESSION
public static final java.lang.String SCOPE_APPLICATION
Constructor Detail |
public TagUtils()
Method Detail |
public static int getScope(java.lang.String scope)
scope
- the string to inspect
java.lang.IllegalArgumentException
- if the scope is null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |