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

ThemeLinkImpl - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.theme.impl
Class ThemeLinkImpl

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

public class ThemeLinkImpl
extends java.lang.Object
implements ThemeLink

An implementation of a ThemeLink.

See Also:
ThemeLink

Constructor Summary
ThemeLinkImpl(PortalTheme theme, java.lang.String rel, java.lang.String type, java.lang.String href, java.lang.String id, java.lang.String title, java.lang.String media)
          Create a new ThemeLink
 
Method Summary
 java.lang.StringBuffer getElement()
          Get the markup the theme element.
 java.lang.StringBuffer getLink()
          Get the content , the markup, of the link
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThemeLinkImpl

public ThemeLinkImpl(PortalTheme theme,
                     java.lang.String rel,
                     java.lang.String type,
                     java.lang.String href,
                     java.lang.String id,
                     java.lang.String title,
                     java.lang.String media)
Create a new ThemeLink

Parameters:
theme - the theme this link belongs to
rel - the rel attributes value
type - the type attributes value
href - the href attributes value
title - the title attributes value
media - the media attributes value
Method Detail

getLink

public java.lang.StringBuffer getLink()
Description copied from interface: ThemeLink
Get the content , the markup, of the link

Specified by:
getLink in interface ThemeLink
Returns:
the markup of the link
See Also:
ThemeLink.getLink()

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()