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

Key: XSTR-303
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Assignee: Unassigned
Reporter: John Kristian
Votes: 0
Watchers: 0
Operations

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

Facilitate StAX customization

Created: 27/Apr/06 02:08 PM   Updated: 09/Nov/06 04:52 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. Text File StaxDriver.patch (1 kb)
2. Java Source File StaxUtilsDriver.java (1 kb)

Issue Links:
Related
 
dependent
 


 Description  « Hide
Please refactor StaxDriver to simplify customization of the factories. I suggest the attached patch.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
John Kristian - 27/Apr/06 02:11 PM
Attached find a sample customization (StaxUtilsDriver).

Joerg Schaible - 28/Jul/06 03:47 PM
After fixing XSTR-302 and applying your patch from XSTR-304, it seems to me that this change would be now some kind of over-refactoring. The two methods getInputFactory and getOutputFactory are explicitly there to be overloaded. So I see personally no value in refactoring the call to newInstance() out again. Please reopen, if you feel that I might have missed a point.

Joerg Schaible - 09/Nov/06 04:52 PM
Closing after receiving no further comment.