at.knowcenter.wag.egov.egiz.sig.signaturelayout
Class SignatureLayoutHandlerFactory

java.lang.Object
  extended byat.knowcenter.wag.egov.egiz.sig.signaturelayout.SignatureLayoutHandlerFactory

public class SignatureLayoutHandlerFactory
extends Object

Returns instances of signature layout handlers based on given bku identifiers.

Author:
tknall

Constructor Summary
SignatureLayoutHandlerFactory()
           
 
Method Summary
static SignatureLayoutHandler getSignatureLayoutHandlerInstance(String bkuIdentifier)
          Returns an instance of a signature layout handler based on the given bku identifier.
static void verifyBKUSupport(String bkuIdentifier)
          Verifies that the bku is supported trying to match the given bku identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureLayoutHandlerFactory

public SignatureLayoutHandlerFactory()
Method Detail

getSignatureLayoutHandlerInstance

public static SignatureLayoutHandler getSignatureLayoutHandlerInstance(String bkuIdentifier)
                                                                throws ConnectorException,
                                                                       SettingsException
Returns an instance of a signature layout handler based on the given bku identifier.

Parameters:
bkuIdentifier - The bku identifier (e.g. citizen-card-environment/1.2 MOCCA/1.1.1).
Returns:
An implementation of a signature layout handler.
Throws:
ConnectorException - Thrown in case of an error finding a match within the configuration with the given bku identifier.
SettingsException - Thrown in case of an error within the configuration.

verifyBKUSupport

public static void verifyBKUSupport(String bkuIdentifier)
                             throws ConnectorException,
                                    SettingsException
Verifies that the bku is supported trying to match the given bku identifier.

Parameters:
bkuIdentifier - The bku identifier (e.g. citizen-card-environment/1.2 MOCCA/1.1.1).
Throws:
ConnectorException - Thrown in case of an error (e.g. bku not supported).
SettingsException - Thrown in case of an error within the configuration.


Copyright © 2006-2010. All Rights Reserved.