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: 8784 $, $LastChangedDate: 2007-10-28 01:01:46 +0200 (Sun, 28 Oct 2007) $
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

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

Returns:
the markup that this theme element represents

getAttributeValue

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