Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370574 - Add support for Sun RI's indentString Marshaller property
Summary: Add support for Sun RI's indentString Marshaller property
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 359251
  Show dependency tree
 
Reported: 2012-02-03 11:42 EST by Rick Barkhouse CLA
Modified: 2022-06-09 10:33 EDT (History)
1 user (show)

See Also:


Attachments
Patch (12.49 KB, patch)
2012-02-03 11:45 EST, Rick Barkhouse CLA
no flags Details | Diff
Patch (13.54 KB, patch)
2012-02-03 15:26 EST, Rick Barkhouse CLA
no flags Details | Diff
Patch - trunk (17.85 KB, patch)
2012-02-06 14:07 EST, Rick Barkhouse CLA
no flags Details | Diff
Patch - 2.3 (13.02 KB, patch)
2012-02-06 14:07 EST, Rick Barkhouse CLA
no flags Details | Diff
Patch - 2.3 (12.93 KB, patch)
2012-02-06 15:30 EST, Rick Barkhouse CLA
no flags Details | Diff
Patch - trunk (17.66 KB, patch)
2012-02-06 15:30 EST, Rick Barkhouse CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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