|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.aggregator.impl.PortletContentImpl
public class 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 |
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 expiration)
|
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 |
| 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 java.lang.String getContent()
PortletContent
getContent in interface PortletContentpublic void complete()
complete
complete in interface PortletContentPortletContent.complete()public void completeWithError()
PortletContent
completeWithError in interface PortletContentpublic ContentCacheKey getCacheKey()
PortletContent
getCacheKey in interface PortletContentpublic int getExpiration()
PortletContent
getExpiration in interface PortletContentpublic void setExpiration(int expiration)
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 | |||||||||