Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> ClassCastException


Copy link to this message
-
Re: ClassCastException
http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLEventWriter.html

You can use an XMLOutputFactory to create an XMLEventWriter, and then use an
XMLEventFactory to create events that can then be written to the
XMLEventWriter.
On Thu, Oct 7, 2010 at 4:05 PM, Johannes.Lichtenberger <
[EMAIL PROTECTED]> wrote:

> On 10/08/2010 12:01 AM, Ted Yu wrote:
> > http://www.ibm.com/developerworks/xml/library/x-stax2.html
>
> I think the problem would be how to serialize XMLEvents or more
> precisely I don't know if there's an existing StAX XMLEvent-to-String
> class/method.
>
> regards,
> Johannes
>
>