|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.portals.gems.util.PortletContentImpl
public class PortletContentImpl
| Constructor Summary | |
|---|---|
PortletContentImpl()
|
|
| Method Summary | |
|---|---|
void |
complete()
complete |
void |
completeWithError()
Notify that this content is complete with error |
ContentCacheKey |
getCacheKey()
Get the cache key used to cache this content |
java.lang.String |
getContent()
Retrieve the actual content of a portlet as a string |
int |
getExpiration()
Get the expiration setting for this content if it is cached. |
java.lang.String |
getStringCacheKey()
|
java.lang.String |
getTitle()
Get the title of the portlet, used during caching |
java.io.PrintWriter |
getWriter()
Get a writer to the content to stream content into this object |
void |
init()
|
boolean |
isComplete()
Has the renderer completed rendering the content? |
void |
release()
|
void |
setExpiration(int e)
|
void |
setTitle(java.lang.String title)
Set the title of this portlet, used during caching |
char[] |
toCharArray()
|
java.lang.String |
toString()
|
void |
writeTo(java.io.Writer out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PortletContentImpl()
| Method Detail |
|---|
public java.io.PrintWriter getWriter()
PortletContent
getWriter in interface PortletContentpublic void init()
public void release()
public java.lang.String toString()
toString in class java.lang.Object
public void writeTo(java.io.Writer out)
throws java.io.IOException
java.io.IOExceptionpublic char[] toCharArray()
public boolean isComplete()
PortletContent
isComplete in interface PortletContentpublic void completeWithError()
PortletContent
completeWithError in interface PortletContentpublic java.lang.String getContent()
PortletContent
getContent in interface PortletContentpublic void complete()
complete
complete in interface PortletContentPortletContent.complete()public ContentCacheKey getCacheKey()
PortletContent
getCacheKey in interface PortletContentpublic java.lang.String getStringCacheKey()
public int getExpiration()
PortletContent
getExpiration in interface PortletContentpublic void setExpiration(int e)
setExpiration in interface PortletContentpublic java.lang.String getTitle()
PortletContent
getTitle in interface PortletContentpublic void setTitle(java.lang.String title)
PortletContent
setTitle in interface PortletContent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||