net.sf.jsefa.common.lowlevel.config
Class LowLevelConfiguration

java.lang.Object
  extended by net.sf.jsefa.common.lowlevel.config.LowLevelConfiguration
Direct Known Subclasses:
RbfLowLevelConfiguration, XmlLowLevelConfiguration

public abstract class LowLevelConfiguration
extends Object

The abstract superclass for low level configuration object classes. It uses lazy initialization.

A configuration object is used when creating a new LowLevelIOFactory. One configuration object can be used for the creation of multiple factories as each new factory holds its own copy of the configuration object. So the configuration object can be changed after creating a factory with it without affecting the configuration of the factory.

Author:
Norman Lahme-Huetig

Nested Class Summary
static interface LowLevelConfiguration.Defaults
          Set of default configuration values.
 
Constructor Summary
protected LowLevelConfiguration()
          Constructs a new LowLevelConfiguration.
protected LowLevelConfiguration(LowLevelConfiguration other)
          Constructs a new LowLevelConfiguration as a copy of the given one.
 
Method Summary
abstract  LowLevelConfiguration createCopy()
          Creates a copy of this LowLevelConfiguration.
 String getLineBreak()
          Returns the line break String.
 void setLineBreak(String lineBreak)
          Sets the line break String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LowLevelConfiguration

protected LowLevelConfiguration()
Constructs a new LowLevelConfiguration.


LowLevelConfiguration

protected LowLevelConfiguration(LowLevelConfiguration other)
Constructs a new LowLevelConfiguration as a copy of the given one.

Parameters:
other - the other config
Method Detail

getLineBreak

public String getLineBreak()
Returns the line break String.

Returns:
the line break String

setLineBreak

public void setLineBreak(String lineBreak)
Sets the line break String.

Parameters:
lineBreak - the line break String

createCopy

public abstract LowLevelConfiguration createCopy()
Creates a copy of this LowLevelConfiguration.

Returns:
a copy of this LowLevelConfiguration


Copyright © 2014. All rights reserved.