From dd5a8c1969db9a67b169fc0e253d066be7647ab5 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:15:56 +0000 Subject: Add signatureLanguage Parameter git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@230 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../asit/pdfover/signator/SignatureParameter.java | 101 +++++++++++++-------- 1 file changed, 65 insertions(+), 36 deletions(-) (limited to 'pdf-over-signator/src/main/java/at') diff --git a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java index 29e8b56b..7db164c6 100644 --- a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java +++ b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java @@ -24,31 +24,24 @@ import java.awt.Image; */ public abstract class SignatureParameter { - /** - * The Signature Position - */ + /** The Signature Position */ protected SignaturePosition signaturePosition = null; - /** - * The signature Device - */ + /** The Signature language */ + protected String signatureLanguage = null; + + /** The key identifier */ protected String keyIdentifier = null; - /** - * The input document - */ + /** The input document */ protected DocumentSource documentSource = null; - /** - * holds the emblem - */ + /** holds the emblem */ protected Emblem emblem; - /** - * The signature device - */ + /** The signature device */ protected BKUs signatureDevice; - + /** * @return the signatureDevice */ @@ -57,39 +50,65 @@ public abstract class SignatureParameter { } /** - * @param signatureDevice the signatureDevice to set + * @param signatureDevice + * the signatureDevice to set */ public void setSignatureDevice(BKUs signatureDevice) { this.signatureDevice = signatureDevice; } - /** + /** * Getter of the property signaturePosition - * @return Returns the signaturePosition. + * + * @return Returns the signaturePosition. */ public SignaturePosition getSignaturePosition() { return this.signaturePosition; } - - /** + + /** * Setter of the property signaturePosition - * @param signaturePosition The signaturePosition to set. + * + * @param signaturePosition + * The signaturePosition to set. */ public void setSignaturePosition(SignaturePosition signaturePosition) { this.signaturePosition = signaturePosition; } - + + /** + * Getter of the property signatureLanguage + * + * @return Returns the signatureLanguage. + */ + public String getSignatureLanguage() { + return this.signatureLanguage; + } + + /** + * Setter of the property signatureLanguage + * + * @param signatureLanguage + * The signatureLanguage to set. + */ + public void setSignatureLanguage(String signatureLanguage) { + this.signatureLanguage = signatureLanguage; + } + /** * Getter of the property keyIdentifier - * @return Returns the keyIdentifier. + * + * @return Returns the keyIdentifier. */ public String getKeyIdentifier() { return this.keyIdentifier; } - + /** * Setter of the property keyIdentifier - * @param keyIdentifier The keyIdentifier to set. + * + * @param keyIdentifier + * The keyIdentifier to set. */ public void setKeyIdentifier(String keyIdentifier) { this.keyIdentifier = keyIdentifier; @@ -97,34 +116,40 @@ public abstract class SignatureParameter { /** * Getter of the property documentSource - * @return Returns the documentSource. + * + * @return Returns the documentSource. */ public DocumentSource getInputDocument() { return this.documentSource; } - + /** * Setter of the property documentSource - * @param inputDocument The documentSource to set. + * + * @param inputDocument + * The documentSource to set. */ public void setInputDocument(DocumentSource inputDocument) { this.documentSource = inputDocument; } - + /** * Gets the Dimension to display the Placeholder + * * @return the placeholder dimensions */ public abstract SignatureDimension getPlaceholderDimension(); - + /** * Gets the Dimension to display the Placeholder + * * @return the placeholder dimensions */ public abstract Image getPlaceholder(); - + /** * Gets the Emblem + * * @return the Emblem */ public Emblem getEmblem() { @@ -133,22 +158,26 @@ public abstract class SignatureParameter { /** * Sets the Emblem - * @param emblem The new Emblem + * + * @param emblem + * The new Emblem */ public void setEmblem(Emblem emblem) { this.emblem = emblem; } - + /** * Sets generic properties + * * @param key * @param value */ public abstract void setProperty(String key, String value); - + /** * Gets generic properties - * @param key + * + * @param key * @return associated value */ public abstract String getProperty(String key); -- cgit v1.2.3