net.sf.jsefa.xml
Class XmlIOFactoryImpl

java.lang.Object
  extended by net.sf.jsefa.xml.XmlIOFactory
      extended by net.sf.jsefa.xml.XmlIOFactoryImpl
All Implemented Interfaces:
IOFactory

public class XmlIOFactoryImpl
extends XmlIOFactory

Default implementation of XmlIOFactory.

Instances of this class are immutable and thread-safe.

Author:
Norman Lahme-Huetig

Method Summary
 XmlDeserializer createDeserializer()
          Creates a new Deserializer.
static XmlIOFactory createFactory(XmlConfiguration config)
          Creates a new XmlIOFactory for XmlSerializers and XmlDeserializers using the given configuration.
 XmlSerializer createSerializer()
          Creates a new Serializer.
 
Methods inherited from class net.sf.jsefa.xml.XmlIOFactory
createFactory, createFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFactory

public static XmlIOFactory createFactory(XmlConfiguration config)
Creates a new XmlIOFactory for XmlSerializers and XmlDeserializers using the given configuration.

Parameters:
config - the configuration object.
Returns:
a XmlIOFactory factory
Throws:
IOFactoryException

createSerializer

public XmlSerializer createSerializer()
Creates a new Serializer.

Specified by:
createSerializer in interface IOFactory
Specified by:
createSerializer in class XmlIOFactory
Returns:
a Serializer

createDeserializer

public XmlDeserializer createDeserializer()
Creates a new Deserializer.

Specified by:
createDeserializer in interface IOFactory
Specified by:
createDeserializer in class XmlIOFactory
Returns:
a new Deserializer


Copyright © 2014. All rights reserved.