Some thoughts on XMLStreamHelper API

2006-08-07 Thread Yang ZHONG
From some use cases, I feel some changes to the XMLStreamHelper API might make usage a little bit easier or more generic. Your input will be very much appreciated. 1. Static DataObject may not necessarily always implement DataObject interface, *and* XMLStreamHelper could be extended to serve POJ

Re: Some thoughts on XMLStreamHelper API

2006-08-08 Thread kelvin goodson
Yang some comments on your points, Re the return type loadObject, the spec says that ... "The implementation of the static interfaces must implement the DataObject interface, enabling all Data Objects, whether static or dynamic, to be used with the DataObject interface." So we could make the ap

Re: Some thoughts on XMLStreamHelper API

2006-08-08 Thread Jeremy Boynes
On Aug 8, 2006, at 3:15 AM, kelvin goodson wrote: Having an XMLStreamHelper.INSTANCE sounds reasonable, scoped to the TypeHelper.INSTANCE singleton. Please no. INSTANCE is a real anti-pattern and we should be looking to remove them rather than add more. -- Jeremy