Package io.wcm.handler.media
Class MediaRequest.MediaPropertyNames
- java.lang.Object
-
- io.wcm.handler.media.MediaRequest.MediaPropertyNames
-
- Enclosing class:
- MediaRequest
public static final class MediaRequest.MediaPropertyNames extends Object
Defines property names to read media parameters from for this media request.
-
-
Constructor Summary
Constructors Constructor Description MediaPropertyNames()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaRequest.MediaPropertyNamescropProperty(@Nullable String name)@Nullable StringgetCropProperty()@Nullable StringgetMapProperty()@Nullable StringgetRefProperty()@Nullable StringgetRotationProperty()MediaRequest.MediaPropertyNamesmapProperty(@Nullable String name)MediaRequest.MediaPropertyNamesrefProperty(@Nullable String name)MediaRequest.MediaPropertyNamesrotationProperty(@Nullable String name)
-
-
-
Method Detail
-
refProperty
public MediaRequest.MediaPropertyNames refProperty(@Nullable @Nullable String name)
- Parameters:
name- Name of the property from which the media reference is read- Returns:
- this
-
getRefProperty
@Nullable public @Nullable String getRefProperty()
- Returns:
- Name of the property from which the media reference is read
-
cropProperty
public MediaRequest.MediaPropertyNames cropProperty(@Nullable @Nullable String name)
- Parameters:
name- Name of the property which contains the cropping parameters- Returns:
- this
-
getCropProperty
@Nullable public @Nullable String getCropProperty()
- Returns:
- Name of the property which contains the cropping parameters
-
rotationProperty
public MediaRequest.MediaPropertyNames rotationProperty(@Nullable @Nullable String name)
- Parameters:
name- Name of the property which contains the rotation parameter- Returns:
- this
-
getRotationProperty
@Nullable public @Nullable String getRotationProperty()
- Returns:
- Name of the property which contains the rotation parameter
-
mapProperty
public MediaRequest.MediaPropertyNames mapProperty(@Nullable @Nullable String name)
- Parameters:
name- Name of the property which contains the image map data- Returns:
- this
-
getMapProperty
@Nullable public @Nullable String getMapProperty()
- Returns:
- Name of the property which contains the image map data
-
-