Package org.apache.turbine.util.template
Class HtmlPageAttributes.LinkTag
- java.lang.Object
-
- org.apache.turbine.util.template.HtmlPageAttributes.LinkTag
-
- Enclosing class:
- HtmlPageAttributes
public static class HtmlPageAttributes.LinkTag extends Object
Helper class to hold data about a <link ... /> html header tag
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMedia()
Gets the media for which the stylesheet should be applied.String
getRelation()
Gets the relation type of the tag.String
getTitle()
Gets the title of the style sheetString
getType()
Gets the content type of the style sheetString
getUrl()
void
setMedia(String media)
Sets the media for which the stylesheet should be applied.void
setRelation(String relation)
Sets the relation type of the tag.void
setTitle(String title)
Sets the title of the stylesheetvoid
setType(String type)
Sets the content type of the style sheet
-
-
-
Method Detail
-
setType
public void setType(String type)
Sets the content type of the style sheet- Parameters:
type
- content type
-
setTitle
public void setTitle(String title)
Sets the title of the stylesheet- Parameters:
title
- of the stylesheet
-
getMedia
public String getMedia()
Gets the media for which the stylesheet should be applied.- Returns:
- name of the media
-
setMedia
public void setMedia(String media)
Sets the media for which the stylesheet should be applied.- Parameters:
media
- name of the media
-
getRelation
public String getRelation()
Gets the relation type of the tag.- Returns:
- name of the relation
-
setRelation
public void setRelation(String relation)
Sets the relation type of the tag.- Parameters:
relation
- name of the relation
-
-