net.sf.jsefa.flr.lowlevel
Class FlrLowLevelIOFactory

java.lang.Object
  extended by net.sf.jsefa.flr.lowlevel.FlrLowLevelIOFactory
All Implemented Interfaces:
LowLevelIOFactory
Direct Known Subclasses:
FlrLowLevelIOFactoryImpl

public abstract class FlrLowLevelIOFactory
extends Object
implements LowLevelIOFactory

Factory for creating FlrLowLevelDeserializers and FlrLowLevelSerializers. This is the abstract base class for concrete factories. Each subclass must provide a static method create(FlrLowLevelConfiguration config) as well as implement the abstract methods.

This class provides a static factory method createFactory(FlrLowLevelConfiguration) to create an instance of a concrete FlrLowLevelIOFactory.

Author:
Norman Lahme-Huetig

Constructor Summary
FlrLowLevelIOFactory()
           
 
Method Summary
abstract  FlrLowLevelDeserializer createDeserializer()
          Creates a new LowLevelDeserializer.
static FlrLowLevelIOFactory createFactory(FlrLowLevelConfiguration config)
          Creates a new FlrLowLevelIOFactory for FlrLowLevelSerializers and FlrLowLevelDeserializers using the given configuration.
abstract  FlrLowLevelSerializer createSerializer()
          Creates a new LowLevelSerializer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlrLowLevelIOFactory

public FlrLowLevelIOFactory()
Method Detail

createFactory

public static FlrLowLevelIOFactory createFactory(FlrLowLevelConfiguration config)
Creates a new FlrLowLevelIOFactory for FlrLowLevelSerializers and FlrLowLevelDeserializers using the given configuration.

Parameters:
config - the configuration object.
Returns:
an FlrLowLevelIOFactory factory
Throws:
IOFactoryException

createSerializer

public abstract FlrLowLevelSerializer createSerializer()
Creates a new LowLevelSerializer.

Specified by:
createSerializer in interface LowLevelIOFactory
Returns:
a LowLevelSerializer

createDeserializer

public abstract FlrLowLevelDeserializer createDeserializer()
Creates a new LowLevelDeserializer.

Specified by:
createDeserializer in interface LowLevelIOFactory
Returns:
a new LowLevelDeserializer


Copyright © 2014. All rights reserved.