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

ThemeElement - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.theme
Interface ThemeElement

All Known Implementing Classes:
ThemeLink, ThemeScript

public interface ThemeElement

A generic interface to type all the elements of a theme.

Theme elements are the script and link tags that make up the theme.

Version:
$LastChangedRevision: 5448 $, $LastChangedDate: 2006-10-13 15:29:17 -0400 (Fri, 13 Oct 2006) $
Author:
PortalTheme

Method Summary
 java.lang.String getAttributeValue(java.lang.String attributeName)
          Get the attribute value of the provided attribute, or null if the attribute is not specified in this element
 java.lang.String getElement()
          Get the markup of the theme element.
 

Method Detail

getElement

public java.lang.String getElement()
Get the markup of the theme element.

Returns:
the markup that this theme element represents

getAttributeValue

public java.lang.String getAttributeValue(java.lang.String attributeName)
Get the attribute value of the provided attribute, or null if the attribute is not specified in this element

Parameters:
attributeName - the name of the attribute to get the value for
Returns:
a String with the attribute value