Class AtomHopperFeedPage<PAYLOAD>
- java.lang.Object
-
- no.skatteetaten.fastsetting.formueinntekt.felles.feed.client.atom.hopper.AtomHopperFeedPage<PAYLOAD>
-
- All Implemented Interfaces:
FeedPage<AtomHopperFeedLocation,AtomHopperFeedEntry<PAYLOAD>>
public class AtomHopperFeedPage<PAYLOAD> extends Object implements FeedPage<AtomHopperFeedLocation,AtomHopperFeedEntry<PAYLOAD>>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) com.rometools.rome.feed.synd.SyndFeedfeed
-
Constructor Summary
Constructors Constructor Description AtomHopperFeedPage(com.rometools.rome.feed.synd.SyndFeed feed, AtomHopperFeedLocation.Direction direction, BiFunction<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry,PAYLOAD> payloadResolver)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AtomHopperFeedEntry<PAYLOAD>>getEntries()AtomHopperFeedLocationgetLocation()Optional<AtomHopperFeedLocation>getNextLocation()Optional<AtomHopperFeedLocation>getPreviousLocation()booleanhasLocation(AtomHopperFeedLocation location)Optional<String>toDisplayString()(package private) static Optional<String>toMarker(String url)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.feed.api.FeedPage
getEntriesAfter, getEntriesBetween, getEntriesUntil, getPageLocation, hasNextLocation, hasPreviousLocation
-
-
-
-
Constructor Detail
-
AtomHopperFeedPage
AtomHopperFeedPage(com.rometools.rome.feed.synd.SyndFeed feed, AtomHopperFeedLocation.Direction direction, BiFunction<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry,PAYLOAD> payloadResolver)
-
-
Method Detail
-
getLocation
public AtomHopperFeedLocation getLocation()
- Specified by:
getLocationin interfaceFeedPage<AtomHopperFeedLocation,AtomHopperFeedEntry<PAYLOAD>>
-
getPreviousLocation
public Optional<AtomHopperFeedLocation> getPreviousLocation()
- Specified by:
getPreviousLocationin interfaceFeedPage<AtomHopperFeedLocation,AtomHopperFeedEntry<PAYLOAD>>
-
getNextLocation
public Optional<AtomHopperFeedLocation> getNextLocation()
- Specified by:
getNextLocationin interfaceFeedPage<AtomHopperFeedLocation,AtomHopperFeedEntry<PAYLOAD>>
-
getEntries
public List<AtomHopperFeedEntry<PAYLOAD>> getEntries()
- Specified by:
getEntriesin interfaceFeedPage<AtomHopperFeedLocation,AtomHopperFeedEntry<PAYLOAD>>
-
hasLocation
public boolean hasLocation(AtomHopperFeedLocation location)
- Specified by:
hasLocationin interfaceFeedPage<AtomHopperFeedLocation,AtomHopperFeedEntry<PAYLOAD>>
-
toDisplayString
public Optional<String> toDisplayString()
- Specified by:
toDisplayStringin interfaceFeedPage<AtomHopperFeedLocation,AtomHopperFeedEntry<PAYLOAD>>
-
-