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

ThemeResult - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.theme
Class ThemeResult

java.lang.Object
  extended byorg.jboss.portal.theme.ThemeResult

public final class ThemeResult
extends java.lang.Object

The resulting markup of a theme assembly.

A theme consists of zero or more links and scripts that together form the markup to be injected into the head of the page. This result object holds the rendered markup of the theme that can be written into the page.


Constructor Summary
ThemeResult(java.lang.String themeName, java.lang.StringBuffer markup)
           
 
Method Summary
 java.lang.StringBuffer getMarkup()
           
 java.lang.String getThemeName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeResult

public ThemeResult(java.lang.String themeName,
                   java.lang.StringBuffer markup)
Method Detail

getMarkup

public java.lang.StringBuffer getMarkup()
Returns:
the theme markup to inject

getThemeName

public java.lang.String getThemeName()
Returns:
the name of the theme that produced the markup