Package io.wcm.handler.media.imagemap
Interface ImageMapParser
-
@ProviderType public interface ImageMapParser
Parses image maps produced by the AEM image editor.The interface is implemented by a Sling Model. You can adapt from
SlingHttpServletRequest
orResource
to get a context-specific handler instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable java.util.List<ImageMapArea>
parseMap(@Nullable java.lang.String mapString)
Parses a map area string toImageMapArea
objects.
-
-
-
Method Detail
-
parseMap
@Nullable @Nullable java.util.List<ImageMapArea> parseMap(@Nullable @Nullable java.lang.String mapString)
Parses a map area string toImageMapArea
objects.- Parameters:
mapString
- Map string- Returns:
- List of areas or null if none found
-
-