|
||||||||||
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 PortletContent
public 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.IOException
public char[] toCharArray()
public boolean isComplete()
PortletContent
isComplete
in interface PortletContent
public java.lang.String getContent()
PortletContent
getContent
in interface PortletContent
public void complete()
complete
complete
in interface PortletContent
PortletContent.complete()
public void completeWithError()
PortletContent
completeWithError
in interface PortletContent
public ContentCacheKey getCacheKey()
PortletContent
getCacheKey
in interface PortletContent
public int getExpiration()
PortletContent
getExpiration
in interface PortletContent
public void setExpiration(int expiration)
setExpiration
in interface PortletContent
public java.lang.String getTitle()
PortletContent
getTitle
in interface PortletContent
public 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 |