public static class HtmlPageAttributes.LinkTag extends Object
Constructor and Description |
---|
LinkTag(String relation,
String url)
Constructor requiring the URL and relation to be set
|
Modifier and Type | Method and 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 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
|
public String getType()
public void setType(String type)
type
- content typepublic String getUrl()
public String getTitle()
public void setTitle(String title)
title
- of the stylesheetpublic String getMedia()
public void setMedia(String media)
media
- name of the mediapublic String getRelation()
public void setRelation(String relation)
relation
- name of the relationCopyright © 2000–2019 The Apache Software Foundation. All rights reserved.