Class JRHyperlinkTargetProducerFactory
- java.lang.Object
-
- net.sf.jasperreports.engine.export.JRHyperlinkTargetProducerFactory
-
- Direct Known Subclasses:
DefaultHyperlinkTargetProducerFactory
,JRHyperlinkTargetProducerMapFactory
public abstract class JRHyperlinkTargetProducerFactory extends Object
An abstract factory ofhyperlink 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 Constructor Description JRHyperlinkTargetProducerFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract JRHyperlinkTargetProducer
getHyperlinkTargetProducer(String linkTarget)
Returns the hyperlink target producer associated with a specific hyperlink target.String
produceHyperlinkTarget(JRPrintHyperlink hyperlink)
Generates the String hyperlink target for a hyperlink instance based on its type and on the associated hyperlink target producer.
-
-
-
Method Detail
-
getHyperlinkTargetProducer
public abstract JRHyperlinkTargetProducer getHyperlinkTargetProducer(String linkTarget)
Returns the hyperlink target producer associated with a specific hyperlink target.- Parameters:
linkTarget
- the hyperlink target- Returns:
- an associated hyperlink target producer, or
null
when none associated
-
produceHyperlinkTarget
public String produceHyperlinkTarget(JRPrintHyperlink hyperlink)
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:
JRHyperlinkTargetProducer.getHyperlinkTarget(JRPrintHyperlink)
-
-