Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Compare: JDOM2 Feature Outputter Updates

Showing with 1 addition and 1 deletion.
  1. +1 −1  JDOM2-Feature-Outputter-Updates.md
View
2  JDOM2-Feature-Outputter-Updates.md
@@ -16,6 +16,6 @@ To support the Outputters the NamespaceStack and FormatStack are available. Thes
Further, the 'back-end' code was analysed, and a large amount of code redundancy was identified. In essence, there are 5 outputters, XML (text), SAX, DOM, StAX Event, and StAX Stream. Each of these 5 implementations have two code functions: format the output; and interface with the output target.
-The 'format the output' code was common to all 5 output types, and it is complicated code because there are essentially four tpes of formats: Raw, Pretty, Compact, and 'Trim-Full-White'. The output formating code has now been 'isolated' in to the 'Walker' interface (and it's specific implementations): http://hunterhacker.github.com/jdom/jdom2/apidocs/org/jdom2/output/support/Walker.html
+The 'format the output' code was common to all 5 output types, and it is complicated code because there are essentially four types of formats: Raw, Pretty, Compact, and 'Trim-Full-White'. The output formating code has now been 'isolated' in to the 'Walker' interface (and it's specific implementations): http://hunterhacker.github.com/jdom/jdom2/apidocs/org/jdom2/output/support/Walker.html
It is now possible to create a new formatter, and apply the same formatter (Walker) to any of the 5 output targets. Additionally, it is possible to create a new type of output target without having to worry about the actual formatting of the XML.
Something went wrong with that request. Please try again.