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

ThemeScriptImpl - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.theme.impl
Class ThemeScriptImpl

java.lang.Object
  extended byorg.jboss.portal.theme.impl.ThemeScriptImpl
All Implemented Interfaces:
ThemeElement, ThemeScript

public class ThemeScriptImpl
extends java.lang.Object
implements ThemeScript

An implementation of a ThemeScript.

See Also:
ThemeScript

Constructor Summary
ThemeScriptImpl(PortalTheme theme, java.lang.String src, java.lang.String id, java.lang.String type, java.lang.String bodyContent)
          Create a theme script.
 
Method Summary
 java.lang.StringBuffer getElement()
          Get the markup the theme element.
 java.lang.StringBuffer getScript()
          Get the content, the markup, of the script tag
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThemeScriptImpl

public ThemeScriptImpl(PortalTheme theme,
                       java.lang.String src,
                       java.lang.String id,
                       java.lang.String type,
                       java.lang.String bodyContent)
Create a theme script.

Parameters:
theme - the theme to which this script belongs to
src - the value of the src attribute
type - the value of the type attribute
Method Detail

getScript

public java.lang.StringBuffer getScript()
Description copied from interface: ThemeScript
Get the content, the markup, of the script tag

Specified by:
getScript in interface ThemeScript
Returns:
the markup of the script tag
See Also:
ThemeScript.getScript()

toString

public java.lang.String toString()
See Also:
Object.toString()

getElement

public java.lang.StringBuffer getElement()
Description copied from interface: ThemeElement
Get the markup the theme element.

Specified by:
getElement in interface ThemeElement
Returns:
the markup that this theme element represents
See Also:
ThemeElement.getElement()