|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.web.util.TagUtils
public abstract class 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 String |
SCOPE_APPLICATION
constant identifying the application scope String |
static String |
SCOPE_PAGE
constant identifying the page scope String |
static String |
SCOPE_REQUEST
constant identifying the request scope String |
static String |
SCOPE_SESSION
constant identifying the session scope String |
| Constructor Summary | |
|---|---|
TagUtils()
|
|
| Method Summary | |
|---|---|
static int |
getScope(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 String SCOPE_PAGE
public static final String SCOPE_REQUEST
public static final String SCOPE_SESSION
public static final String SCOPE_APPLICATION
| Constructor Detail |
|---|
public TagUtils()
| Method Detail |
|---|
public static int getScope(String scope)
scope - the string to inspect
IllegalArgumentException - if the scope is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||