|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.redfin.sitemapgenerator.WebSitemapUrl
public class WebSitemapUrl
Encapsulates a single URL to be inserted into a Web sitemap (as opposed to a Geo sitemap, a Mobile sitemap, a Video sitemap, etc which are Google specific). Specifying a lastMod, changeFreq, or priority is optional; you specify those by using an Options object.
WebSitemapUrl.Options| Nested Class Summary | |
|---|---|
static class |
WebSitemapUrl.Options
Options to configure web sitemap URLs |
| Constructor Summary | |
|---|---|
WebSitemapUrl(java.lang.String url)
Encapsulates a single simple URL |
|
WebSitemapUrl(java.net.URL url)
Encapsulates a single simple URL |
|
WebSitemapUrl(WebSitemapUrl.Options options)
Creates an URL with configured options |
|
| Method Summary | |
|---|---|
ChangeFreq |
getChangeFreq()
Retrieves the AbstractSitemapUrlOptions.changeFreq(ChangeFreq) |
java.util.Date |
getLastMod()
Retrieves the AbstractSitemapUrlOptions.lastMod(Date) |
java.lang.Double |
getPriority()
Retrieves the AbstractSitemapUrlOptions.priority(Double) |
java.net.URL |
getUrl()
Retrieves the url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebSitemapUrl(java.lang.String url)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic WebSitemapUrl(java.net.URL url)
public WebSitemapUrl(WebSitemapUrl.Options options)
| Method Detail |
|---|
public java.util.Date getLastMod()
AbstractSitemapUrlOptions.lastMod(Date)
public ChangeFreq getChangeFreq()
AbstractSitemapUrlOptions.changeFreq(ChangeFreq)
public java.lang.Double getPriority()
AbstractSitemapUrlOptions.priority(Double)
public java.net.URL getUrl()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||