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 or Resource to get a context-specific handler instance.

    • Method Detail

      • parseMap

        @Nullable
        @Nullable java.util.List<ImageMapArea> parseMap​(@Nullable
                                                        @Nullable java.lang.String mapString)
        Parses a map area string to ImageMapArea objects.
        Parameters:
        mapString - Map string
        Returns:
        List of areas or null if none found