Community
Participate
Working Groups
We should update the class comment java docs on JAXBContext to outline how the external bindings file can be passed to the context. The following should be included along with any other pertinent information: * It is assumed that the given map's key will be ECLIPSELINK_OXM_XML_KEY, * and the value will be: * * 1) Map<String, Object> * - Object is one of those listed in 3) below * 2) List<Object> * - Object is one of those listed in 3) below * - Bindings file must contain package-name attribute on * xml-bindings element * 3) One of: * - java.io.File * - java.io.InputStream * - java.io.Reader * - java.net.URL * - javax.xml.stream.XMLEventReader * - javax.xml.stream.XMLStreamReader * - javax.xml.transform.Source * - org.w3c.dom.Node * - org.xml.sax.InputSource * * - Bindings file must contain package-name attribute on * xml-bindings element
The following page should be updated as well: http://wiki.eclipse.org/EclipseLink/DesignDocs/277920/Phase1#Bootstrapping_-_Specifying_Source_of_XML_Overrides
Created attachment 184998 [details] Proposed fix
Reviewed by: blaise.doughan@oracle.com Tests: JavaDoc change, n/a
Revision 8690
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink