站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

WARTheme - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.theme.impl
Class WARTheme

java.lang.Object
  extended byorg.jboss.portal.theme.PortalTheme
      extended byorg.jboss.portal.theme.impl.WARTheme

public final class WARTheme
extends PortalTheme

A theme implementation that gets its resources from a war file.


Constructor Summary
WARTheme()
           
 
Method Summary
 ThemeResult assembleResponse(ServerRequest request, ServerResponse response)
          create the markup that this theme wants to inject into the page
 void assembleResponse(java.io.Writer writer)
          create the markup that this theme wants to inject into the page, and write it to the provided writer
 
Methods inherited from class org.jboss.portal.theme.PortalTheme
destroy, getServiceInfo, getThemeInfo, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WARTheme

public WARTheme()
Method Detail

assembleResponse

public ThemeResult assembleResponse(ServerRequest request,
                                    ServerResponse response)
Description copied from class: PortalTheme
create the markup that this theme wants to inject into the page

Specified by:
assembleResponse in class PortalTheme
Parameters:
request - the current server request
response - the current server response
Returns:
a ThemeResult containing the markup to inject into the page

assembleResponse

public void assembleResponse(java.io.Writer writer)
Description copied from class: PortalTheme
create the markup that this theme wants to inject into the page, and write it to the provided writer

Specified by:
assembleResponse in class PortalTheme
Parameters:
writer - the writer to write the theme markup to