ImageResource
based on a SyntheticResource
.
35 | * This class returns the path of the SyntheticResource when {@link ImageResource#getFileReference()} is called.
36 | *
37 | * @param resolver The resource resolver.
38 | * @param path The resource path.
39 | * @param slingResourceType The sling resource type.
40 | * @param url The URL of the image.
41 | */
42 | public SyntheticImageResource(ResourceResolver resolver, String path, String slingResourceType, String url) {
43 | super(new SyntheticResource(resolver, path, slingResourceType) {
44 | private ValueMap valueMap;
45 | {
46 | Map