public class SiteMapItem extends FeedItem
https://www.sitemaps.org/protocol.html
,
https://xmlsitemapgenerator.org/help/xml-sitemap-example.aspx
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
SiteMapItem.ChangeFreq |
Constructor and Description |
---|
SiteMapItem() |
SiteMapItem(String json) |
Modifier and Type | Method and Description |
---|---|
float |
getActualPriority()
Derives from
priority ; an optional field |
SiteMapItem.ChangeFreq |
getChangeFreq() |
int |
getPriority()
A Optional floating point; this value will be divided by 10 for actual output.
|
void |
setChangeFreq(SiteMapItem.ChangeFreq changeFreq) |
void |
setPriority(int priority)
A Optional floating point; this value will be divided by 10 for actual output.
|
equals, getAttributes, getAttributeValue, getCategory, getDisplayName, getId, getLastModDate, getPublishDate, getSource, getUrl, hashCode, setAttribute, setAttributes, setCategory, setId, setLastModDate, setPublishDate, setSource, setUrl
public SiteMapItem()
public SiteMapItem(String json)
public SiteMapItem.ChangeFreq getChangeFreq()
SiteMapItem.ChangeFreq
public void setChangeFreq(SiteMapItem.ChangeFreq changeFreq)
SiteMapItem.ChangeFreq
public int getPriority()
getActualPriority()
public void setPriority(int priority)
getActualPriority()
public float getActualPriority()
priority
; an optional fieldCopyright © 2018. All rights reserved.