Class JRHyperlinkTargetProducerFactory
java.lang.Object
net.sf.jasperreports.engine.export.JRHyperlinkTargetProducerFactory
- Direct Known Subclasses:
DefaultHyperlinkTargetProducerFactory,JRHyperlinkTargetProducerMapFactory
An abstract factory of
hyperlink target producers.
The factory is responsible for returning a hyperlink target producer for a custom hyperlink type.
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract JRHyperlinkTargetProducergetHyperlinkTargetProducer(String linkTarget) Returns the hyperlink target producer associated with a specific hyperlink target.produceHyperlinkTarget(JRPrintHyperlink hyperlink) Generates the String hyperlink target for a hyperlink instance based on its type and on the associated hyperlink target producer.
-
Constructor Details
-
JRHyperlinkTargetProducerFactory
public JRHyperlinkTargetProducerFactory()
-
-
Method Details
-
getHyperlinkTargetProducer
Returns the hyperlink target producer associated with a specific hyperlink target.- Parameters:
linkTarget- the hyperlink target- Returns:
- an associated hyperlink target producer, or
nullwhen none associated
-
produceHyperlinkTarget
Generates the String hyperlink target for a hyperlink instance based on its type and on the associated hyperlink target producer.- Parameters:
hyperlink- the hyperlink instance- Returns:
- the genereated String hyperlink target
- See Also:
-