com.skaringa.javaxml
Class ObjectTransformerFactory

java.lang.Object
  extended by com.skaringa.javaxml.ObjectTransformerFactory

public final class ObjectTransformerFactory
extends java.lang.Object

Factory that produces concrete implementations of ObjectTransformer. It follows the singleton pattern.


Method Summary
 ObjectTransformer getImplementation()
          Get a implementation of an object transformer.
static ObjectTransformerFactory getInstance()
          Get an instance of the factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ObjectTransformerFactory getInstance()
Get an instance of the factory.

Returns:
An instance of the factory.

getImplementation

public ObjectTransformer getImplementation()
                                    throws NoImplementationException
Get a implementation of an object transformer.

Returns:
The implementation.
Throws:
NoImplementationException - If no implementation is available.