|
|||||||||||
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
Helper class to hold data about a <link ... /> html header tag
Constructor Summary | |
HtmlPageAttributes.LinkTag(java.lang.String relation,
java.lang.String url)
Constructor requiring the URL and relation to be set |
Method Summary | |
java.lang.String |
getMedia()
Gets the media for which the stylesheet should be applied. |
java.lang.String |
getRelation()
Gets the relation type of the tag. |
java.lang.String |
getTitle()
Gets the title of the style sheet |
java.lang.String |
getType()
Gets the content type of the style sheet |
java.lang.String |
getUrl()
|
void |
setMedia(java.lang.String media)
Sets the media for which the stylesheet should be applied. |
void |
setRelation(java.lang.String relation)
Sets the relation type of the tag. |
void |
setTitle(java.lang.String title)
Sets the title of the stylesheet |
void |
setType(java.lang.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(java.lang.String relation, java.lang.String url)
relation
- Relation type the external link such as prev, next,
stylesheet, shortcut iconurl
- URL of the external linkMethod Detail |
public java.lang.String getType()
public void setType(java.lang.String type)
type
- content typepublic java.lang.String getUrl()
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- public java.lang.String getMedia()
public void setMedia(java.lang.String media)
media
- name of the mediapublic java.lang.String getRelation()
public void setRelation(java.lang.String relation)
relation
- name of the relation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |