Class CustomImageReplacedElementFactory

  • All Implemented Interfaces:
    org.xhtmlrenderer.extend.ReplacedElementFactory

    public class CustomImageReplacedElementFactory
    extends Object
    implements org.xhtmlrenderer.extend.ReplacedElementFactory
    • Constructor Detail

      • CustomImageReplacedElementFactory

        public CustomImageReplacedElementFactory​(org.xhtmlrenderer.extend.ReplacedElementFactory superFactory)
    • Method Detail

      • createReplacedElement

        public org.xhtmlrenderer.extend.ReplacedElement createReplacedElement​(org.xhtmlrenderer.layout.LayoutContext layoutContext,
                                                                              org.xhtmlrenderer.render.BlockBox blockBox,
                                                                              org.xhtmlrenderer.extend.UserAgentCallback userAgentCallback,
                                                                              int cssWidth,
                                                                              int cssHeight)
        Specified by:
        createReplacedElement in interface org.xhtmlrenderer.extend.ReplacedElementFactory
      • buildImage

        protected org.xhtmlrenderer.extend.FSImage buildImage​(String srcAttr,
                                                              org.xhtmlrenderer.extend.UserAgentCallback userAgentCallback)
                                                       throws IOException,
                                                              com.lowagie.text.BadElementException
        Throws:
        IOException
        com.lowagie.text.BadElementException
      • remove

        public void remove​(Element e)
        Specified by:
        remove in interface org.xhtmlrenderer.extend.ReplacedElementFactory
      • reset

        public void reset()
        Specified by:
        reset in interface org.xhtmlrenderer.extend.ReplacedElementFactory
      • setFormSubmissionListener

        public void setFormSubmissionListener​(org.xhtmlrenderer.simple.extend.FormSubmissionListener listener)
        Specified by:
        setFormSubmissionListener in interface org.xhtmlrenderer.extend.ReplacedElementFactory