Module org.eclipse.persistence.core
Class XMLSessionConfigWriter
java.lang.Object
org.eclipse.persistence.internal.sessions.factories.XMLSessionConfigWriter
INTERNAL:
This class is used by the Mapping Workbench Session Configuration to write the session config
to XML.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidwrite(SessionConfigs eclipseLinkSessions, Writer writer) Given the writer, and a SessionConfigs, this writes out the session XML file.static voidwrite(SessionConfigs eclipseLinkSessions, String fileName) Given the file name (including path), and a SessionConfigs, this writes out the session XML file.
-
Method Details
-
write
Given the file name (including path), and a SessionConfigs, this writes out the session XML file.- Parameters:
eclipseLinkSessions- the SessionConfigs instance to writefileName- file to write to (including path)
-
write
Given the writer, and a SessionConfigs, this writes out the session XML file.- Parameters:
eclipseLinkSessions- the SessionConfigs instance to writewriter- writer to writer to
-