Class XMLSessionConfigWriter
- java.lang.Object
-
- org.eclipse.persistence.internal.sessions.factories.XMLSessionConfigWriter
-
public class XMLSessionConfigWriter extends Object
INTERNAL: This class is used by the Mapping Workbench Session Configuration to write the session config to XML.
-
-
Constructor Summary
Constructors Constructor Description XMLSessionConfigWriter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
write(SessionConfigs eclipseLinkSessions, Writer writer)
Given the writer, and a SessionConfigs, this writes out the session XML file.static void
write(SessionConfigs eclipseLinkSessions, String fileName)
Given the file name (including path), and a SessionConfigs, this writes out the session XML file.
-
-
-
Method Detail
-
write
public static void write(SessionConfigs eclipseLinkSessions, String fileName)
Given the file name (including path), and a SessionConfigs, this writes out the session XML file.- Parameters:
fileName
- file to write to (including path)eclipseLinkSessions
- the SessionConfigs instance to write
-
write
public static void write(SessionConfigs eclipseLinkSessions, Writer writer)
Given the writer, and a SessionConfigs, this writes out the session XML file.- Parameters:
writer
- writer to writer toeclipseLinkSessions
- the SessionConfigs instance to write
-
-