Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370574

Summary: Add support for Sun RI's indentString Marshaller property
Product: z_Archived Reporter: Rick Barkhouse <rick.barkhouse>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: blaise.doughan
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 359251    
Attachments:
Description Flags
Patch
none
Patch
none
Patch - trunk
none
Patch - 2.3
none
Patch - 2.3
none
Patch - trunk none

Description Rick Barkhouse CLA 2012-02-03 11:42:13 EST
From the Sun RI Documentation:

Indentation

Property name:	com.sun.xml.bind.indentString
Type:	java.lang.String
Default value:	 "    " (four whitespaces)

This property controls the string used for the indentation of XML. An element of depth k will be indented by printing this string k times. Note that the " jaxb.formatted.output" property needs to be set to "true" for the formatting/indentation of the output to occur. See the API documentation for javax.xml.bind.Marshaller interface for details of this property.
Comment 1 Rick Barkhouse CLA 2012-02-03 11:45:37 EST
Created attachment 210521 [details]
Patch
Comment 2 Rick Barkhouse CLA 2012-02-03 15:26:26 EST
Created attachment 210528 [details]
Patch
Comment 3 Rick Barkhouse CLA 2012-02-06 14:07:05 EST
Created attachment 210609 [details]
Patch - trunk
Comment 4 Rick Barkhouse CLA 2012-02-06 14:07:41 EST
Created attachment 210610 [details]
Patch - 2.3
Comment 5 Rick Barkhouse CLA 2012-02-06 15:30:02 EST
Created attachment 210616 [details]
Patch - 2.3
Comment 6 Rick Barkhouse CLA 2012-02-06 15:30:21 EST
Created attachment 210617 [details]
Patch - trunk
Comment 7 Rick Barkhouse CLA 2012-02-06 20:50:29 EST
Checked into 2.3 and trunk, reviewed by bdoughan
Comment 8 Eclipse Webmaster CLA 2022-06-09 10:33:12 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink