| Package | Description |
|---|---|
| io.prismic |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Fragment.Link
A Link fragment
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Fragment.Color
A CSS color, represented by its hexadecimal representation (ex: #FF0000)
|
static class |
Fragment.Date
A Date fragment.
|
static class |
Fragment.DocumentLink
Link to a document within the same Prismic repository.
|
static class |
Fragment.Embed
An embeded object, typically coming from a third party service (example: YouTube video)
|
static class |
Fragment.FileLink
Link to a file uploaded to Prismic's Media Library, for example a PDF file.
|
static class |
Fragment.GeoPoint
A geographical point fragment, represented by longitude and latitude
|
static class |
Fragment.Group
Represents a Group fragment.
|
static class |
Fragment.Image
An image fragment.
|
static class |
Fragment.ImageLink
Link to an image uploaded to Prismic's Media Library
|
static class |
Fragment.Number
A Number fragment.
|
static class |
Fragment.SliceZone |
static class |
Fragment.StructuredText
A Structured text, typically a text including blocks, formatting, links, images...
|
static class |
Fragment.Text
The Text type, represents a plain text
|
static class |
Fragment.Timestamp
Timestamp fragment: date with time.
|
static class |
Fragment.WebLink |
| Modifier and Type | Method and Description |
|---|---|
Fragment |
WithFragments.get(String field) |
Fragment |
Fragment.Slice.getValue() |
| Modifier and Type | Method and Description |
|---|---|
List<Fragment> |
WithFragments.getAll(String field) |
abstract Map<String,Fragment> |
WithFragments.getFragments() |
Map<String,Fragment> |
GroupDoc.getFragments() |
Map<String,Fragment> |
Fragment.DocumentLink.getFragments() |
Map<String,Fragment> |
Document.getFragments() |
List<Map<String,Fragment>> |
Fragment.Group.toMapList()
Deprecated.
Use getDocs() then manipulate the GroupDoc
|
| Modifier and Type | Method and Description |
|---|---|
static String |
WithFragments.fragmentHtml(Fragment fragment,
LinkResolver linkResolver,
HtmlSerializer htmlSerializer) |
| Constructor and Description |
|---|
Slice(String sliceType,
String label,
Fragment value) |
| Constructor and Description |
|---|
Document(String id,
String uid,
String type,
String href,
Set<String> tags,
List<String> slugs,
Map<String,Fragment> fragments) |
DocumentLink(String id,
String uid,
String type,
Set<String> tags,
String slug,
Map<String,Fragment> fragments,
boolean broken) |
GroupDoc(Map<String,Fragment> fragments) |
Copyright © 2016. All rights reserved.