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 POJO, so it
might be a little bit more generic for loadObject to return Object instead
of DataObject.

2. An INSTANCE static field might be a little bit convenient (corresponding
to TypeHelper.INSTANCE), and consistent to other helper API such as
TypeHelper, XSDHelper and so on.

3. Following methods might be a little bit convenient:
   Object load(InputStream stream) throws XMLStreamException
   Object load(Reader stream) throws XMLStreamException

--

Yang ZHONG

Reply via email to