-
- All Implemented Interfaces:
-
android.os.Parcelable,org.readium.r2.shared.JSONable
public final class PublicationCollection implements JSONable, Parcelable
Core Collection Model
https://readium.org/webpub-manifest/schema/subcollection.schema.json Can be used as extension point in the Readium Web Publication Manifest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPublicationCollection.Companion
-
Constructor Summary
Constructors Constructor Description PublicationCollection(Map<String, Object> metadata, List<Link> links, Map<String, List<PublicationCollection>> subcollections)
-
Method Summary
Modifier and Type Method Description final Map<String, Object>getMetadata()final List<Link>getLinks()final Map<String, List<PublicationCollection>>getSubcollections()JSONObjecttoJSON()Serializes a PublicationCollection to its RWPM JSON representation. -
-
Method Detail
-
getMetadata
final Map<String, Object> getMetadata()
-
getSubcollections
final Map<String, List<PublicationCollection>> getSubcollections()
-
toJSON
JSONObject toJSON()
Serializes a PublicationCollection to its RWPM JSON representation.
-
-
-
-