Jean-Marie Dautelle wrote:
> You might want to look at Javolution XPP-like parser supporting NIO
> directly:
> http://javolution.org/api/javolution/xml/pull/XmlPullParserImpl.html
>
> Best regards,
> Jean-Marie (Javolution project owner).
>
> PS: XPP-Like because it uses CharSequence instead of Strings to avoid
> creating objects dynamically (faster).
>
hi Jean-Marie,
i think what Peter asked for is for API that allows to parse multiple
nio inputs in the same time efficiently by using selector like API - as
far as i can tell Javolution XPP is exactly like XmlPull v1 but uses
CharSequence? are there any other changes?
thanks,
alek
>
>
>> Hi all,
>>
>> Are there any thoughts about updating the API to take advantage of the
>> java.nio package, and/or read data in a non-blocking mode in general?
>>
>> This would require a new return token to signal back that the parser
>> has temporarily ran out of bytes to parse the next entity (e.g.,
>> RETRY_LATER). The whole point would then be the possibility to read
>> many streams in parallel using one thread...
>>
>> Regards,
>> /Peter
>>
>>
>>
>>
>>
>> YAHOO! GROUPS LINKS
>> Visit your group "xmlpull-user" on the web.
>> To unsubscribe from this group, send an email to:
>> xmlpull-user-unsubscribe@yahoogroups.com
>> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>>
>>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
--
The best way to predict the future is to invent it - Alan Kay