public static class HtmlPageAttributes.LinkTag extends Object
Constructor and Description |
---|
HtmlPageAttributes.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 HtmlPageAttributes.LinkTag(String relation, String url)
relation
- Relation type the external link such as prev, next,
stylesheet, shortcut iconurl
- URL of the external linkpublic void setType(String type)
type
- content typepublic 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–2018 The Apache Software Foundation. All rights reserved.