|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.theme.ThemeLink
public final class ThemeLink
An implementation of a ThemeLink
.
The theme link is responsible for producing the markup of a link element in the markup response's head tag.
ThemeElement
Constructor Summary | |
---|---|
ThemeLink(java.lang.String contextPath,
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.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. |
java.lang.String |
getLink()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ThemeLink(java.lang.String contextPath, java.lang.String rel, java.lang.String type, java.lang.String href, java.lang.String id, java.lang.String title, java.lang.String media)
contextPath
- the URI of the servlet context that hosts the resource that the link is pointing torel
- the rel attributes valuetype
- the type attributes valuehref
- the href attributes valuetitle
- the title attributes valuemedia
- the media attributes valueMethod Detail |
---|
public java.lang.String getLink()
getLink()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String getElement()
ThemeElement
getElement
in interface ThemeElement
ThemeElement.getElement()
public java.lang.String getAttributeValue(java.lang.String attributeName)
ThemeElement
getAttributeValue
in interface ThemeElement
attributeName
- the name of the attribute to get the value for
org.jboss.portal.theme.ThemeElement@getAttributeValue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |