当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
ThemeResult - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.theme
Class ThemeResult
java.lang.Object
org.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.
- Version:
- $Revision: 5448 $
- Author:
- Martin Holzner
Field Summary |
private java.lang.StringBuffer |
markup
|
private java.lang.String |
themeName
|
Constructor Summary |
ThemeResult(java.lang.String themeName,
java.lang.StringBuffer markup)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
themeName
private final java.lang.String themeName
markup
private final java.lang.StringBuffer markup
ThemeResult
public ThemeResult(java.lang.String themeName,
java.lang.StringBuffer markup)
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