public abstract class RsItem<T extends RsItem> extends Object
Constructor and Description |
---|
RsItem() |
Modifier and Type | Method and Description |
---|---|
T |
addLink(RsLn rsLn) |
Optional<String> |
getChangefreq() |
Optional<ZonedDateTime> |
getLastmod() |
List<RsLn> |
getLinkList() |
String |
getLoc() |
Optional<RsMd> |
getMetadata() |
Optional<URI> |
getNormalizedUri() |
ZonedDateTime |
getRsMdAt() |
ZonedDateTime |
getRsMdDateTime() |
ZonedDateTime |
getRsMdFrom() |
int |
isAfter(RsItem ot) |
int |
isLastModAfter(RsItem ot) |
int |
isZDTAfter(RsItem ot) |
T |
latest(T other) |
T |
withChangefreq(String changefreq) |
T |
withLastmod(ZonedDateTime lastmod) |
T |
withLoc(String loc) |
T |
withMetadata(RsMd rsMd) |
public String getLoc()
public Optional<ZonedDateTime> getLastmod()
public T withLastmod(ZonedDateTime lastmod)
public ZonedDateTime getRsMdDateTime()
public ZonedDateTime getRsMdAt()
public ZonedDateTime getRsMdFrom()
public int isZDTAfter(RsItem ot)
public int isLastModAfter(RsItem ot)
public int isAfter(RsItem ot)
Copyright © 2017. All rights reserved.