org.apache.jetspeed.aggregator.impl
Class PortletContentImpl
java.lang.Object
org.apache.jetspeed.aggregator.impl.PortletContentImpl
- All Implemented Interfaces:
- org.apache.jetspeed.aggregator.PortletContent
public class PortletContentImpl
- extends Object
- implements org.apache.jetspeed.aggregator.PortletContent
Constructor Summary |
PortletContentImpl()
|
PortletContentImpl(org.apache.jetspeed.aggregator.PortletRenderer renderer,
org.apache.jetspeed.cache.ContentCacheKey cacheKey,
int expiration)
|
PortletContentImpl(org.apache.jetspeed.aggregator.PortletRenderer renderer,
org.apache.jetspeed.cache.ContentCacheKey cacheKey,
int expiration,
String title)
|
cw
private CharArrayWriter cw
writer
private PrintWriter writer
complete
private boolean complete
cacheKey
private org.apache.jetspeed.cache.ContentCacheKey cacheKey
expiration
private int expiration
title
private String title
renderer
private org.apache.jetspeed.aggregator.PortletRenderer renderer
PortletContentImpl
PortletContentImpl()
PortletContentImpl
PortletContentImpl(org.apache.jetspeed.aggregator.PortletRenderer renderer,
org.apache.jetspeed.cache.ContentCacheKey cacheKey,
int expiration,
String title)
PortletContentImpl
PortletContentImpl(org.apache.jetspeed.aggregator.PortletRenderer renderer,
org.apache.jetspeed.cache.ContentCacheKey cacheKey,
int expiration)
getWriter
public PrintWriter getWriter()
- Specified by:
getWriter
in interface org.apache.jetspeed.aggregator.PortletContent
init
public void init()
release
public void release()
toString
public String toString()
- Overrides:
toString
in class Object
writeTo
public void writeTo(Writer out)
throws IOException
- Throws:
IOException
toCharArray
public char[] toCharArray()
isComplete
public boolean isComplete()
- Specified by:
isComplete
in interface org.apache.jetspeed.aggregator.PortletContent
setComplete
void setComplete(boolean state,
boolean notify)
getContent
public String getContent()
- Specified by:
getContent
in interface org.apache.jetspeed.aggregator.PortletContent
complete
public void complete()
complete
- Specified by:
complete
in interface org.apache.jetspeed.aggregator.PortletContent
- See Also:
PortletContent.complete()
completeWithError
public void completeWithError()
- Specified by:
completeWithError
in interface org.apache.jetspeed.aggregator.PortletContent
getCacheKey
public org.apache.jetspeed.cache.ContentCacheKey getCacheKey()
- Specified by:
getCacheKey
in interface org.apache.jetspeed.aggregator.PortletContent
getExpiration
public int getExpiration()
- Specified by:
getExpiration
in interface org.apache.jetspeed.aggregator.PortletContent
setExpiration
public void setExpiration(int expiration)
- Specified by:
setExpiration
in interface org.apache.jetspeed.aggregator.PortletContent
getTitle
public String getTitle()
- Specified by:
getTitle
in interface org.apache.jetspeed.aggregator.PortletContent
setTitle
public void setTitle(String title)
- Specified by:
setTitle
in interface org.apache.jetspeed.aggregator.PortletContent
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.