Package org.jopensignature.sign
Class Vendor
- java.lang.Object
-
- org.jopensignature.sign.Vendor
-
- Direct Known Subclasses:
SoVendor
public abstract class Vendor extends java.lang.ObjectGeneric structure for vendor information.
-
-
Constructor Summary
Constructors Constructor Description Vendor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.awt.image.BufferedImagegetImage()Returns a vendor specificimagefor e.g.abstract java.lang.StringgetName()Returns the name of the vendor.java.net.URLgetURL()Returns a URL to a vendor homepage.
-
-
-
Method Detail
-
getName
public abstract java.lang.String getName()
Returns the name of the vendor. This method must never returnnull.- Returns:
- the name of the vendor.
-
getImage
public java.awt.image.BufferedImage getImage()
Returns a vendor specificimagefor e.g. the company sign. If no suchimageis available,nullmay be returned. This image can be used to for example to present a "Device Selection Dialog".NOTE: The default implementation will return
null. Override this method if a customimageshall be returned.- Returns:
-
getURL
public java.net.URL getURL()
Returns a URL to a vendor homepage. This is optional and can benull.- Returns:
- a URL to a vendor homepage or
null
-
-