|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.theme.ThemeScript
public final class ThemeScript
An implementation of a ThemeScript.
The script element is responsible for creating the markup that represents a single script tag in the response markup.
ThemeElement| Constructor Summary | |
|---|---|
ThemeScript(java.lang.String contextPath,
java.lang.String src,
java.lang.String id,
java.lang.String type,
java.lang.String bodyContent,
java.lang.String charset)
Create a theme script. |
|
| 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 |
getScript()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ThemeScript(java.lang.String contextPath,
java.lang.String src,
java.lang.String id,
java.lang.String type,
java.lang.String bodyContent,
java.lang.String charset)
contextPath - the URI of the servlet context that hosts the resource that the script tag is pointing tosrc - the value of the src attributetype - the value of the type attribute| Method Detail |
|---|
public java.lang.String getScript()
getScript()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String getElement()
ThemeElement
getElement in interface ThemeElementThemeElement.getElement()public java.lang.String getAttributeValue(java.lang.String attributeName)
ThemeElement
getAttributeValue in interface ThemeElementattributeName - 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 | ||||||||