|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.taglib.template.PageDef
Page Definition
Field Summary | |
private java.lang.String |
base
The Base Directory for this page |
private java.lang.String |
localeName
Locale Name |
private java.util.Map |
params
Parameters |
private java.lang.String |
template
The template |
Constructor Summary | |
PageDef(java.lang.String base,
java.lang.String template,
java.lang.String localeName)
Constructor |
Method Summary | |
void |
addPageParameter(java.lang.String name,
PageParameter param)
Adds a named page parameter |
java.lang.String |
getBase()
|
java.util.Locale |
getLocale(javax.servlet.jsp.PageContext pageContext)
Returns the locale to use |
java.lang.String |
getLocaleName()
|
PageParameter |
getPageParameter(java.lang.String name)
Retrieves a named page parameter |
java.util.Set |
getParameterNames()
Returns the parameter names in this page. |
java.lang.String |
getResourcePath()
|
java.lang.String |
getTemplate()
|
int |
size()
Returns the number of page parameters in this page. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String base
private java.lang.String template
private java.lang.String localeName
private java.util.Map params
Constructor Detail |
public PageDef(java.lang.String base, java.lang.String template, java.lang.String localeName)
base
- Base directory for all contained parameterstemplate
- The template pagelocaleName
- Locale NameMethod Detail |
public java.lang.String getBase()
public java.lang.String getTemplate()
public java.lang.String getLocaleName()
public java.util.Locale getLocale(javax.servlet.jsp.PageContext pageContext)
pageContext
- Page Context
null
public java.lang.String getResourcePath()
public void addPageParameter(java.lang.String name, PageParameter param)
name
- Parameter nameparam
- The Parameter Definitionpublic PageParameter getPageParameter(java.lang.String name)
name
- Parameter name
null
public int size()
public java.util.Set getParameterNames()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |