Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/Development/2.1/DynamicMOXy/296967/BootstrapFromOXM/ObjectFactory"
< EclipseLink | Development | 2.1 | DynamicMOXy/296967 | BootstrapFromOXM
(→Background) |
(→Background) |
||
Line 13: | Line 13: | ||
• An instance factory method signature for each Java content within the | • An instance factory method signature for each Java content within the | ||
package.<br> | package.<br> | ||
− | |||
− | |||
<tt>public Foo createFoo();</tt> | <tt>public Foo createFoo();</tt> |
Revision as of 14:28, 2 September 2010
Supporting ObjectFactory in Dynamic JAXB
Background
In standard JAXB, when classes are generated from a schema, an ObjectFactory class is also created, with methods to create new instances of all types in the schema, etc. From the JAXB 2.2 spec: