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 StringgetMedia()Gets the media for which the stylesheet should be applied.StringgetRelation()Gets the relation type of the tag.StringgetTitle()Gets the title of the style sheetStringgetType()Gets the content type of the style sheetStringgetUrl()voidsetMedia(String media)Sets the media for which the stylesheet should be applied.voidsetRelation(String relation)Sets the relation type of the tag.voidsetTitle(String title)Sets the title of the stylesheetvoidsetType(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
-
-