History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XSTR-349
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Assignee: Unassigned
Reporter: Joerg Schaible
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XStream

Unify interface to DOM writing Writer implementations

Created: 06/Oct/06 02:47 AM   Updated: 18/Oct/06 07:57 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.x Maintenance


 Description  « Hide
All of XStream's XML drivers normally use simply the PrettyPrintWriter to emit XML and do not use the explicit Writers of the implementation. Those can be used to build a DOM out of the written elements. Unfortunately the HSW interface does not define a method, how to access the written DOM tree(s). Therefore introduce a DomGenerator interface and use the JDomWriter's functionality and interface as template, since it has the most advanced functionality.

Note: Personally I was not aware of this use case as it is described in http://www.theserverside.com/news/thread.tss?thread_id=25923 by Joe and I broke the Dom4JWriter in XStream 1.2.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Joerg Schaible - 18/Oct/06 07:57 PM
Test suite committed.