|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--com.bea.p13n.servlets.jsp.TagSupport | +--com.bea.p13n.servlets.jsp.taglib.ContentTagSupport
Base Tag class for tags which deal with Content.
This provides access to the ContentCache.
Field Summary | |
protected java.lang.String |
cacheId
The cache id. |
protected java.lang.String |
cacheScope
The cache scope. |
protected long |
cacheTimeout
The cache timeout. |
protected java.util.Map |
contextParams
The context params. |
protected boolean |
useCache
Should this try to use the cache. |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id,
pageContext |
Constructor Summary | |
ContentTagSupport()
|
Method Summary | |
protected Content[] |
checkContentCache()
Check the content cache for the requested Content. |
java.lang.String |
getCacheId()
Get cacheId which should be used. |
java.lang.String |
getCacheScope()
Get the cacheScope . |
java.lang.String |
getCacheTimeout()
Get the value of cacheTimeout . |
ContentManager |
getContentManager(java.lang.String home)
Try to lookup the specified ContentManager. |
java.util.Map |
getContextParams()
Get the context params. |
java.lang.String |
getUseCache()
Get the value of useCache . |
void |
release()
Reset any variables. |
void |
setCacheId(java.lang.String s)
Set the value of cacheId . |
void |
setCacheScope(java.lang.String s)
Set the cacheScope . |
void |
setCacheTimeout(long l)
Set the value of cacheTimeout . |
void |
setCacheTimeout(java.lang.String v)
Set the value of cacheTimeout . |
void |
setContextParams(java.util.Map m)
Set the context params. |
void |
setContextParams(java.lang.String str)
Set the context params from semi-colon separate list of name=value pairs. |
void |
setInContentCache(Content[] content)
Update the content cache with the specified content. |
void |
setUseCache(boolean b)
Set the value of useCache . |
void |
setUseCache(java.lang.String s)
Set the value of useCache . |
Methods inherited from class com.bea.p13n.servlets.jsp.TagSupport |
createAdviceRequest,
createAdvisor |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody,
doEndTag,
doStartTag,
findAncestorWithClass,
getId,
getParent,
getValue,
getValues,
removeValue,
setId,
setPageContext,
setParent,
setValue |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected boolean useCache
protected java.lang.String cacheScope
protected java.lang.String cacheId
protected long cacheTimeout
protected java.util.Map contextParams
Constructor Detail |
public ContentTagSupport()
Method Detail |
public void release()
protected Content[] checkContentCache()
This will use the useCache, cacheScope, cacheId, and cacheTimeout settings.
public void setInContentCache(Content[] content)
public ContentManager getContentManager(java.lang.String home)
public java.lang.String getUseCache()
useCache
.public void setUseCache(java.lang.String s)
useCache
.public void setUseCache(boolean b)
useCache
.public java.lang.String getCacheScope()
cacheScope
.public void setCacheScope(java.lang.String s)
cacheScope
.public java.lang.String getCacheId()
public void setCacheId(java.lang.String s)
cacheId
.public java.lang.String getCacheTimeout()
cacheTimeout
.public void setCacheTimeout(java.lang.String v)
cacheTimeout
.public void setCacheTimeout(long l)
cacheTimeout
.public java.util.Map getContextParams()
public void setContextParams(java.lang.String str)
public void setContextParams(java.util.Map m)
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |