@StableMinor(version="12.3", sinceVersion="5.0") public class PageWebResourceData extends Object
Constructor and Description |
---|
PageWebResourceData() |
Modifier and Type | Method and Description |
---|---|
URL |
getCanonicalUrl()
Returns the canonical link URL of the web resource.
|
String |
getDescription()
Returns the page web resource description.
|
List<String> |
getKeywords()
Returns the page web resource keywords.
|
Map<String,String> |
getMetaTags()
Returns the page meta tags in a map.
|
String |
getSimpleTitle()
Returns the page web resource simple title.
It's important to notice that this title may not be the final title of the web resource. |
String |
getTitle()
Returns the page web resource title.
|
String |
getUrlTitle()
Returns the title value used for friendly URL generation of the web resource.
|
void |
setCanonicalUrl(URL canonicalUrl)
Sets the URL to be used as the canonical link of the web
resource.
|
void |
setDescription(String description)
Sets the page web resource description.
|
void |
setKeywords(List<String> keywords)
Sets the page web resource keywords.
|
void |
setMetaTags(Map<String,String> metaTags)
Sets the page meta tags map.
|
void |
setSimpleTitle(String title)
Sets the page web resource simple title.
It's important to notice that this title may not be the final title of the web resource. |
void |
setTitle(String title)
Sets the page web resource title.
|
void |
setUrlTitle(String urlTitle)
Sets the title value used during friendly URL generation of the web resource.
|
public void setTitle(String title)
title
- the title.public void setSimpleTitle(String title)
title pattern
, that may
or may not include this title.title
- the simple title.public void setUrlTitle(String urlTitle)
urlTitle
- the value, or null
if no specific title for URL generation was defined.public void setDescription(String description)
description
- the description.public void setKeywords(List<String> keywords)
keywords
- the keywords. Must not be null. If no keywords is
desired, an empty list may be used.public void setMetaTags(Map<String,String> metaTags)
metaTagMap
- the new meta tags map.public void setCanonicalUrl(URL canonicalUrl)
canonicalUrl
- the canonical URL, or null
if this web resource does not have a canonical URL.public String getTitle()
public String getSimpleTitle()
title pattern
, that may
or may not include this title.public String getDescription()
public List<String> getKeywords()
null
, but may return
an empty list if there is no keyword.public Map<String,String> getMetaTags()
public String getUrlTitle()
null
if no specific title for URL generation was defined. In this case
getSimpleTitle()
should be used instead.public URL getCanonicalUrl()
null
if this web resource does not have a canonical URL.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.