| Modifier and Type | Class and Description |
|---|---|
static class |
Fragment.Image.View
A View is a representation of an image at a specific size
|
Fragment.Color, Fragment.Date, Fragment.DocumentLink, Fragment.Embed, Fragment.FileLink, Fragment.GeoPoint, Fragment.Group, Fragment.Image, Fragment.ImageLink, Fragment.Link, Fragment.Number, Fragment.Slice, Fragment.SliceZone, Fragment.StructuredText, Fragment.Text, Fragment.Timestamp, Fragment.WebLink| Constructor and Description |
|---|
Image(Fragment.Image.View main) |
Image(Fragment.Image.View main,
Map<String,Fragment.Image.View> views) |
| Modifier and Type | Method and Description |
|---|---|
String |
asHtml(LinkResolver linkResolver) |
Fragment.Image.View |
getView(String view)
Get a specific size of the image
|
static Fragment.Image |
parse(com.fasterxml.jackson.databind.JsonNode json) |
public Image(Fragment.Image.View main, Map<String,Fragment.Image.View> views)
public Image(Fragment.Image.View main)
public Fragment.Image.View getView(String view)
view - either "main", or a view as defined in the repository ("icon", "small", etc.)public String asHtml(LinkResolver linkResolver)
public static Fragment.Image parse(com.fasterxml.jackson.databind.JsonNode json)
Copyright © 2015. All rights reserved.