Class XMLSessionConfigWriter


  • public class XMLSessionConfigWriter
    extends java.lang.Object
    INTERNAL: This class is used by the Mapping Workbench Session Configuration to write the session config to XML.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void write​(SessionConfigs toplinkSessions, java.io.Writer writer)
      Given the writer, and a SessionConfigs, this writes out the session XML file.
      static void write​(SessionConfigs toplinkSessions, java.lang.String fileName)
      Given the file name (including path), and a SessionConfigs, this writes out the session XML file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XMLSessionConfigWriter

        public XMLSessionConfigWriter()
    • Method Detail

      • write

        public static void write​(SessionConfigs toplinkSessions,
                                 java.lang.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 toplinkSessions,
                                 java.io.Writer writer)
        Given the writer, and a SessionConfigs, this writes out the session XML file.
        Parameters:
        writer - writer to writer to
        eclipseLinkSessions - the SessionConfigs instance to write