Class JRHyperlinkTargetProducerMapFactory

    • Constructor Detail

      • JRHyperlinkTargetProducerMapFactory

        public JRHyperlinkTargetProducerMapFactory()
        Creates a blank factory.
    • Method Detail

      • getProducersMap

        public Map<String,​JRHyperlinkTargetProducer> getProducersMap()
        Exposes the target to producer association map.
        Returns:
        the target to producer association map
      • addProducer

        public void addProducer​(String linkTarget,
                                JRHyperlinkTargetProducer producer)
        Adds a hyperlink target producer instance associated to a hyperlink target.
        Parameters:
        linkTarget - the target
        producer - the producer
      • removeProducer

        public JRHyperlinkTargetProducer removeProducer​(String linkTarget)
        Removes a target to producer association.
        Parameters:
        linkTarget - the hyperlink target
        Returns:
        the producer which was associated to the target, if any