com.knowgate.hipergate.locale
Class TaxCalculatorFactory

java.lang.Object
  extended by com.knowgate.hipergate.locale.TaxCalculatorFactory

public class TaxCalculatorFactory
extends java.lang.Object

Get an instance of a class implementing ITaxCalculator interface for the given locale


Constructor Summary
TaxCalculatorFactory()
           
 
Method Summary
static ITaxCalculator getCalculator(java.lang.String sCountryId)
          Get tax calculator given a two letter ISO country code
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaxCalculatorFactory

public TaxCalculatorFactory()
Method Detail

getCalculator

public static ITaxCalculator getCalculator(java.lang.String sCountryId)
                                    throws java.lang.InstantiationException
Get tax calculator given a two letter ISO country code

Parameters:
sCountryId - Country code
Returns:
ITaxCalculator
Throws:
java.lang.InstantiationException