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 java.lang.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.MediaPropertyNames
cropProperty(@Nullable java.lang.String name)
@Nullable java.lang.String
getCropProperty()
@Nullable java.lang.String
getMapProperty()
@Nullable java.lang.String
getRefProperty()
@Nullable java.lang.String
getRotationProperty()
MediaRequest.MediaPropertyNames
mapProperty(@Nullable java.lang.String name)
MediaRequest.MediaPropertyNames
refProperty(@Nullable java.lang.String name)
MediaRequest.MediaPropertyNames
rotationProperty(@Nullable java.lang.String name)
java.lang.String
toString()
-
-
-
Method Detail
-
refProperty
public MediaRequest.MediaPropertyNames refProperty(@Nullable @Nullable java.lang.String name)
- Parameters:
name
- Name of the property from which the media reference is read- Returns:
- this
-
getRefProperty
@Nullable public @Nullable java.lang.String getRefProperty()
- Returns:
- Name of the property from which the media reference is read
-
cropProperty
public MediaRequest.MediaPropertyNames cropProperty(@Nullable @Nullable java.lang.String name)
- Parameters:
name
- Name of the property which contains the cropping parameters- Returns:
- this
-
getCropProperty
@Nullable public @Nullable java.lang.String getCropProperty()
- Returns:
- Name of the property which contains the cropping parameters
-
rotationProperty
public MediaRequest.MediaPropertyNames rotationProperty(@Nullable @Nullable java.lang.String name)
- Parameters:
name
- Name of the property which contains the rotation parameter- Returns:
- this
-
getRotationProperty
@Nullable public @Nullable java.lang.String getRotationProperty()
- Returns:
- Name of the property which contains the rotation parameter
-
mapProperty
public MediaRequest.MediaPropertyNames mapProperty(@Nullable @Nullable java.lang.String name)
- Parameters:
name
- Name of the property which contains the image map data- Returns:
- this
-
getMapProperty
@Nullable public @Nullable java.lang.String getMapProperty()
- Returns:
- Name of the property which contains the image map data
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-