public class TransactionFactory
extends java.lang.Object
TransactionFactory
is used to create the Transaction Objects.Constructor and Description |
---|
TransactionFactory() |
Modifier and Type | Method and Description |
---|---|
static Transaction |
getTransaction(org.w3c.dom.Node transactionNode)
Returns a Transaction object for a specified transaction
|
static Transaction |
getTransaction(TransactionType transactionType)
Returns a Transaction object for a specified transaction
|
public static Transaction getTransaction(TransactionType transactionType) throws UnableToInstantiateClassException
transactionType
- The String representation of the transactionUnableToInstantiateClassException
public static Transaction getTransaction(org.w3c.dom.Node transactionNode) throws UnableToInstantiateClassException
transactionNode
- org.w3c.dom.Node representation of the TransactionUnableToInstantiateClassException