|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface IChannelRenderer
The IChannelRenderer defines channel rendering interface.
The process of channel rendering can be implemented in different ways
including in serial form, in parallel form, or a mixture of the two. This
interface allows different implementation to use different implementation
policies.
The channel renderer interaction model is as follows, in order of invocation:
startRenderingcompleteRenderingoutputRendering
| Field Summary | |
|---|---|
static int |
RENDERING_FAILED
Deprecated. Channel rendering failed. |
static int |
RENDERING_SUCCESSFUL
Deprecated. Channel rendering was successful. |
static int |
RENDERING_TIMED_OUT
Deprecated. Channel rendering timed-out. |
| Method Summary | |
|---|---|
void |
cancelRendering()
Deprecated. Cancels the rendering job. |
int |
completeRendering()
Deprecated. Complete the channel rendering. |
SAX2BufferImpl |
getBuffer()
Deprecated. Returns the channel rendering buffer. |
String |
getCharacters()
Deprecated. Returns the channel rendering character set. |
long |
getRenderTime()
Deprecated. This may only be called after outputRendering(ContentHandler) is called. |
boolean |
isRenderedFromCache()
Deprecated. This may only be called after outputRendering(ContentHandler) is called. |
void |
kill()
Deprecated. This method suppose to take care of the runaway rendering threads. |
int |
outputRendering(ContentHandler out)
Deprecated. Places the channel rendering output in the specified content handler. |
void |
setCacheTables(Map<IChannel,Map<String,ChannelCacheEntry>> cacheTables)
Deprecated. Sets the cache tables for the channel renderer. |
void |
setCharacterCache(String chars)
Deprecated. Sets the character cache for the channel renderer. |
void |
setCharacterCacheable(boolean setting)
Deprecated. Enables or disables character caching for the channel renderer. |
void |
setTimeout(long value)
Deprecated. Sets the timeout value for the channel renderer. |
void |
startRendering()
Deprecated. Starts the channel rendering process. |
void |
startRendering(SetCheckInSemaphore groupSemaphore,
Object groupRenderingKey)
Deprecated. Starts the channel rendering process. |
| Field Detail |
|---|
static final int RENDERING_SUCCESSFUL
Channel rendering was successful.
static final int RENDERING_FAILED
Channel rendering failed.
static final int RENDERING_TIMED_OUT
Channel rendering timed-out.
| Method Detail |
|---|
void startRendering()
Starts the channel rendering process.
void startRendering(SetCheckInSemaphore groupSemaphore,
Object groupRenderingKey)
Starts the channel rendering process.
groupSemaphore - semaphore to use for a group of channelsgroupRenderingKey - group rendering key
int completeRendering()
throws Throwable
Complete the channel rendering.
Throwablevoid cancelRendering()
Cancels the rendering job.
void kill()
String getCharacters()
Returns the channel rendering character set.
SAX2BufferImpl getBuffer()
Returns the channel rendering buffer.
void setCharacterCache(String chars)
Sets the character cache for the channel renderer.
chars - character cache for the channel renderervoid setCharacterCacheable(boolean setting)
Enables or disables character caching for the channel renderer.
setting - character caching settingvoid setCacheTables(Map<IChannel,Map<String,ChannelCacheEntry>> cacheTables)
Sets the cache tables for the channel renderer.
cacheTables - cache table for the channel renderervoid setTimeout(long value)
Sets the timeout value for the channel renderer.
value - milliseconds of timeout for the channel renderer
int outputRendering(ContentHandler out)
throws Throwable
out - content handler for the channel rendering information
Throwable - if an error occurslong getRenderTime()
outputRendering(ContentHandler) is called.
boolean isRenderedFromCache()
outputRendering(ContentHandler) is called.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||