Documentation Home
>
The Java EE 5 Tutorial
>
PartĀ III Web Services
>
ChapterĀ 18 Streaming API for XML
>
Example Code
>
Writer Example
> Creating a Stream Writer
The Java EE 5 Tutorial
Previous
: Creating the Output Factory
Next
: Writing the Stream
Creating a Stream Writer
The next step is to create an instance of
XMLStreamWriter
:
XMLStreamWriter xtw = null;
Previous
: Creating the Output Factory
Next
: Writing the Stream
© 2010, Oracle Corporation and/or its affiliates