Generate document-level events (-jaxb.fragment) command

The -jaxb.fragment command determines whether the marshaller generates document-level events in the XML data.

This command is optional. If you omit it, the default is false. Document-level events are not generated in the XML data.

Read syntax diagramSkip visual syntax diagram
-jaxb.fragment command syntax

>>- -jaxb.fragment--+-true--+----------------------------------><

This value must be a java.lang.Boolean object class. The implications of the value depend on which marshaller you use. See your JAXB documentation.