Class 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 Detail

      • XMLSessionConfigWriter

        public XMLSessionConfigWriter()
    • 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 to
        eclipseLinkSessions - the SessionConfigs instance to write