|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.util.template.HtmlPageAttributes.LinkTag
public class HtmlPageAttributes.LinkTag
Helper class to hold data about a <link ... /> html header tag
Constructor Summary | |
---|---|
HtmlPageAttributes.LinkTag(String relation,
String url)
Constructor requiring the URL and relation to be set |
Method Summary | |
---|---|
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 sheet |
String |
getType()
Gets the content type of the style sheet |
String |
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 stylesheet |
void |
setType(String type)
Sets the content type of the style sheet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlPageAttributes.LinkTag(String relation, String url)
relation
- Relation type the external link such as prev, next,
stylesheet, shortcut iconurl
- URL of the external linkMethod Detail |
---|
public String getType()
public void setType(String type)
type
- content typepublic String getUrl()
public String getTitle()
public void setTitle(String title)
title
- public String getMedia()
public void setMedia(String media)
media
- name of the mediapublic String getRelation()
public void setRelation(String relation)
relation
- name of the relation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |