net.sf.jsefa.xml.lowlevel.config
Class XmlLowLevelConfiguration

java.lang.Object
  extended by net.sf.jsefa.common.lowlevel.config.LowLevelConfiguration
      extended by net.sf.jsefa.xml.lowlevel.config.XmlLowLevelConfiguration

public final class XmlLowLevelConfiguration
extends LowLevelConfiguration

Configuration object for creating a XmlLowLevelSerializer or XmlLowLevelDeserializer. It uses lazy initialization.

Author:
Norman Lahme-Huetig

Nested Class Summary
static interface XmlLowLevelConfiguration.Defaults
          Set of default configuration values.
 
Constructor Summary
XmlLowLevelConfiguration()
          Constructs a new XmlLowLevelConfig.
 
Method Summary
 XmlLowLevelConfiguration createCopy()
          Creates a copy of this XmlLowLevelConfig.
 QName getDataTypeAttributeName()
          Returns the name of the attribute denoting a data type.
 String getLineIndentation()
          Returns the line indentation used for serializing.
 NamespaceManager getNamespaceManager()
          Returns the NamespaceManager to be used for serialization only.
 void setDataTypeAttributeName(QName dataTypeAttributeName)
          Sets the name of the attribute that denotes the data type of the respective element.
 void setLineIndentation(String lineIndentation)
          Sets the line indentation to be used for serializing.
 void setNamespaceManager(NamespaceManager namespaceManager)
          Sets the namespace manager.
 
Methods inherited from class net.sf.jsefa.common.lowlevel.config.LowLevelConfiguration
getLineBreak, setLineBreak
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlLowLevelConfiguration

public XmlLowLevelConfiguration()
Constructs a new XmlLowLevelConfig.

Method Detail

createCopy

public XmlLowLevelConfiguration createCopy()
Creates a copy of this XmlLowLevelConfig.

Specified by:
createCopy in class LowLevelConfiguration
Returns:
a copy of this XmlLowLevelConfig

getNamespaceManager

public NamespaceManager getNamespaceManager()
Returns the NamespaceManager to be used for serialization only.

Returns:
a the namespace manager

getDataTypeAttributeName

public QName getDataTypeAttributeName()
Returns the name of the attribute denoting a data type.

Returns:
the data type attribute name

getLineIndentation

public String getLineIndentation()
Returns the line indentation used for serializing.

Returns:
the line indentation

setNamespaceManager

public void setNamespaceManager(NamespaceManager namespaceManager)
Sets the namespace manager.

Parameters:
namespaceManager - the namespace manager.

setDataTypeAttributeName

public void setDataTypeAttributeName(QName dataTypeAttributeName)
Sets the name of the attribute that denotes the data type of the respective element.

Parameters:
dataTypeAttributeName - the data type attribute name

setLineIndentation

public void setLineIndentation(String lineIndentation)
Sets the line indentation to be used for serializing.

Parameters:
lineIndentation - the line indentation


Copyright © 2014. All rights reserved.