Package | Description |
---|---|
org.apache.turbine.util.template |
Template related utilities.
|
Modifier and Type | Method and Description |
---|---|
HtmlPageAttributes |
HtmlPageAttributes.addBodyAttribute(String name,
String value)
Adds an attribute to the BODY tag.
|
HtmlPageAttributes |
HtmlPageAttributes.addLink(String relation,
String linkURL)
Adds a generic external reference
|
HtmlPageAttributes |
HtmlPageAttributes.addLink(String relation,
String linkURL,
String title)
Adds a generic external reference
|
HtmlPageAttributes |
HtmlPageAttributes.addLink(String relation,
String linkURL,
String title,
String type)
Adds a generic external reference
|
HtmlPageAttributes |
HtmlPageAttributes.addScript(String scriptURL)
Adds a script reference
|
HtmlPageAttributes |
HtmlPageAttributes.addStyle(String styleText)
Adds a STYLE element to the HEAD of the page with the provided content.
|
HtmlPageAttributes |
HtmlPageAttributes.addStyleSheet(String styleSheetURL)
Adds a style sheet reference
|
HtmlPageAttributes |
HtmlPageAttributes.addStyleSheet(String styleSheetURL,
String media,
String title,
String type)
Adds a style sheet reference
|
HtmlPageAttributes |
HtmlPageAttributes.setAlinkColor(String color)
Set the active link color for the BODY tag.
|
HtmlPageAttributes |
HtmlPageAttributes.setBackground(String url)
Set the background image for the BODY tag.
|
HtmlPageAttributes |
HtmlPageAttributes.setBgColor(String color)
Set the background color for the BODY tag.
|
HtmlPageAttributes |
HtmlPageAttributes.setDescription(String description)
Add a description META tag to the HEAD of the page.
|
HtmlPageAttributes |
HtmlPageAttributes.setHttpEquiv(String httpEquiv,
String content)
Sets a HttpEquiv META tag in the HEAD of the page, usage:
setHttpEquiv("refresh", "5; URL=http://localhost/nextpage.html")
setHttpEquiv("Expires", "Tue, 20 Aug 1996 14:25:27 GMT") |
HtmlPageAttributes |
HtmlPageAttributes.setKeywords(String keywords)
Set a keywords META tag in the HEAD of the page.
|
HtmlPageAttributes |
HtmlPageAttributes.setLinkColor(String color)
Set the link color for the BODY tag.
|
HtmlPageAttributes |
HtmlPageAttributes.setTextColor(String color)
Set the text color for the BODY tag.
|
HtmlPageAttributes |
HtmlPageAttributes.setTitle(String title)
Set the title in the page.
|
HtmlPageAttributes |
HtmlPageAttributes.setVlinkColor(String color)
Set the visited link color for the BODY tag.
|
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.