|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.core.plugins.page.HeaderContentPlugin.HeaderElement
representation of a header element.
Constructor Summary | |
HeaderContentPlugin.HeaderElement(java.lang.String contextPath,
java.lang.String src,
java.lang.String type,
java.lang.String bodyContent)
Create a script header element. |
|
HeaderContentPlugin.HeaderElement(java.lang.String contextPath,
java.lang.String rel,
java.lang.String type,
java.lang.String href,
java.lang.String title,
java.lang.String media)
Create a link header element. |
Method Summary | |
java.lang.String |
getContent()
Get the markup for this element |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HeaderContentPlugin.HeaderElement(java.lang.String contextPath, java.lang.String rel, java.lang.String type, java.lang.String href, java.lang.String title, java.lang.String media)
This element will create a link tag.
contextPath
- the context path of the WAR that hosts the resource this link points torel
- the rel attribute of the linktype
- the type attribute of the linkhref
- the href attribute of the linktitle
- the title attribute of the linkmedia
- the media attribute of the linkpublic HeaderContentPlugin.HeaderElement(java.lang.String contextPath, java.lang.String src, java.lang.String type, java.lang.String bodyContent)
This element will create a script tag.
contextPath
- the context path of the WAR that hosts the resource this script points tosrc
- the src attribute of this scripttype
- the type attribute of this scriptbodyContent
- the body of the src tag (if any)Method Detail |
public java.lang.String getContent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |