public class SitemapEntry extends Object
| Constructor and Description |
|---|
SitemapEntry(String url) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateChangeFreq()
Calculates the change frequency based on the last modified time and the current time.
|
ChangeFreq |
getChangeFreq() |
Long |
getId() |
Date |
getModified() |
Float |
getPriority() |
String |
getUrl() |
void |
setChangeFreq(ChangeFreq freq) |
void |
setId(Long id) |
void |
setModified(Date modified) |
void |
setPriority(Float priority) |
void |
setUrl(String url) |
String |
toString() |
public SitemapEntry(String url)
public Long getId()
public void setId(Long id)
public String getUrl()
public void setUrl(String url)
public Float getPriority()
public void setPriority(Float priority)
public Date getModified()
public void setModified(Date modified)
public ChangeFreq getChangeFreq()
public void setChangeFreq(ChangeFreq freq)
public void calculateChangeFreq()
Copyright © 2019. All rights reserved.