XMLStreamReader and writes to XMLStreamWriter
as-is.
This class can be sub-classed to implement a simple transformation logic.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private char[] | |
| private static final int | |
| protected XMLStreamReader | |
| pack-priv AttachmentMarshaller | |
| pack-priv boolean | |
| protected XMLStreamWriter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| private void | bridge(XMLStreamReader in, XMLStreamWriter out, XMLStreamReaderToXMLStreamWriter.
|
| private static String | |
| private int | |
| private int | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void |
| buf | back to summary |
|---|---|
| private char[] buf | |
| BUF_SIZE | back to summary |
|---|---|
| private static final int BUF_SIZE | |
| in | back to summary |
|---|---|
| protected XMLStreamReader in | |
| mtomAttachmentMarshaller | back to summary |
|---|---|
| pack-priv AttachmentMarshaller mtomAttachmentMarshaller | |
| optimizeBase64Data | back to summary |
|---|---|
| pack-priv boolean optimizeBase64Data | |
| out | back to summary |
|---|---|
| protected XMLStreamWriter out | |
| XMLStreamReaderToXMLStreamWriter | back to summary |
|---|---|
| public XMLStreamReaderToXMLStreamWriter() | |
| bridge | back to summary |
|---|---|
| public void bridge(XMLStreamReader in, XMLStreamWriter out) throws XMLStreamException Reads one subtree and writes it out.
The | |
| bridge | back to summary |
|---|---|
| public void bridge(XMLStreamReaderToXMLStreamWriter. | |
| bridge | back to summary |
|---|---|
| private void bridge(XMLStreamReader in, XMLStreamWriter out, XMLStreamReaderToXMLStreamWriter. | |
| fixNull | back to summary |
|---|---|
| private static String fixNull(String s) | |
| getEventType | back to summary |
|---|---|
| private int getEventType() throws XMLStreamException | |
| getNextEvent | back to summary |
|---|---|
| private int getNextEvent() throws XMLStreamException | |
| handleAttribute | back to summary |
|---|---|
| protected void handleAttribute(int i) throws XMLStreamException Writes out the
Used from | |
| handleCDATA | back to summary |
|---|---|
| protected void handleCDATA() throws XMLStreamException | |
| handleCharacters | back to summary |
|---|---|
| protected void handleCharacters() throws XMLStreamException | |
| handleComment | back to summary |
|---|---|
| protected void handleComment() throws XMLStreamException | |
| handleDTD | back to summary |
|---|---|
| protected void handleDTD() throws XMLStreamException | |
| handleEndElement | back to summary |
|---|---|
| protected void handleEndElement() throws XMLStreamException | |
| handleEntityReference | back to summary |
|---|---|
| protected void handleEntityReference() throws XMLStreamException | |
| handlePI | back to summary |
|---|---|
| protected void handlePI() throws XMLStreamException | |
| handleSpace | back to summary |
|---|---|
| protected void handleSpace() throws XMLStreamException | |
| handleStartElement | back to summary |
|---|---|
| protected void handleStartElement() throws XMLStreamException | |
| Modifier and Type | Field and Description |
|---|---|
| protected XMLStreamReader | |
| protected XMLStreamWriter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public XMLStreamReader | |
| public XMLStreamWriter |
| reader | back to summary |
|---|---|
| protected XMLStreamReader reader | |
| writer | back to summary |
|---|---|
| protected XMLStreamWriter writer | |
| Breakpoint | back to summary |
|---|---|
| public Breakpoint(XMLStreamReader r, XMLStreamWriter w) | |
| proceedAfterStartElement | back to summary |
|---|---|
| public boolean proceedAfterStartElement() | |
| proceedBeforeStartElement | back to summary |
|---|---|
| public boolean proceedBeforeStartElement() | |
| reader | back to summary |
|---|---|
| public XMLStreamReader reader() | |
| writer | back to summary |
|---|---|
| public XMLStreamWriter writer() | |