|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HeaderResource has tags information to put them into <head> tag.
Method Summary | |
void |
addHeaderInfo(String elementName,
Map attributes,
String text)
Add tag information to this instance. |
void |
addJavaScript(String path)
Convenient method to add <script> tag. |
void |
addJavaScript(String path,
boolean defer)
Convenient method to add <script> tag with defer option. |
void |
addStyleSheet(String path)
Convenient method to add <link> tag. |
String |
toString()
Returns tags to put them into <head> tag. |
Method Detail |
public String toString()
public void addHeaderInfo(String elementName, Map attributes, String text)
elementName
- Tag's nameattributes
- Tag's attributestext
- Tag's contentpublic void addJavaScript(String path, boolean defer)
path
- Javascript file pathdefer
- defer attributes for <script> tag.public void addJavaScript(String path)
path
- Javascript file pathpublic void addStyleSheet(String path)
path
- CSS file path
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |