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.
  • Method Details

    • 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:
      eclipseLinkSessions - the SessionConfigs instance to write
      fileName - file to write to (including path)
    • write

      public static void write(SessionConfigs eclipseLinkSessions, Writer writer)
      Given the writer, and a SessionConfigs, this writes out the session XML file.
      Parameters:
      eclipseLinkSessions - the SessionConfigs instance to write
      writer - writer to writer to