Class JsPicture


  • public class JsPicture
    extends Object
    Picture parameters for JavaScript HTML converter.
    • Constructor Detail

      • JsPicture

        public JsPicture​(FormattedTextEncoder encoder,
                         Picture picture)
        Creates new instance.
        Parameters:
        picture - the picture for which to construct the instance
    • Method Detail

      • getEncodedUrl

        public String getEncodedUrl()
        Returns image URL to be inserted into HTML.
        Returns:
        the encoded URL
      • getEncodedCompositeId

        public String getEncodedCompositeId()
        Returns encoded composite Id of the image.
        Returns:
        the encoded composite Id