StAXStreamOutputter.
People who want to create a custom StAXStreamProcessor for StAXStreamOutputter are able to implement this interface.
The AbstractStAXStreamProcessor class is a full implementation of this
interface and is fully customisable. People who want a custom StAXStreamOutputter
are encouraged to extend the AbstractStAXStreamProcessor rather than do a full
re-implementation of this interface.
StAXStreamOutputter, AbstractStAXStreamProcessor
| Modifier and Type | Method and Description |
|---|---|
| public void | process(XMLStreamWriter
XMLStreamWriter to use.Format instance specifying output styleDocument to format.This will print the |
| public void | process(XMLStreamWriter
XMLStreamWriter to use.Format instance specifying output styleDocType to output.Print out the |
| public void | |
| public void | process(XMLStreamWriter
XMLStreamWriter to use.Format instance specifying output styleList of nodes.This will handle printing out a list of nodes. |
| public void | process(XMLStreamWriter
XMLStreamWriter to use.Format instance specifying output styleCDATA to output.Print out a |
| public void | process(XMLStreamWriter
XMLStreamWriter to use.Format instance specifying output styleText to output.Print out a |
| public void | process(XMLStreamWriter
XMLStreamWriter to use.Format instance specifying output styleComment to output.Print out a |
| public void | process(XMLStreamWriter
XMLStreamWriter to use.Format instance specifying output styleProcessingInstruction to output.Print out a |
| public void | process(XMLStreamWriter
XMLStreamWriter to use.Format instance specifying output styleEntityRef to output.Print out a |
| process | back to summary |
|---|---|
| public void process(XMLStreamWriter out, Format format, Document doc) throws XMLStreamException This will print the Warning using your own XMLStreamWriter may cause the outputter's preferred character encoding to be ignored. If you use encodings other than UTF-8, we recommend using the method that takes an OutputStream instead.
| |
| process | back to summary |
|---|---|
| public void process(XMLStreamWriter out, Format format, DocType doctype) throws XMLStreamException Print out the
| |
| process | back to summary |
|---|---|
| public void process(XMLStreamWriter out, Format format, Element element) throws XMLStreamException Print out an
| |
| process | back to summary |
|---|---|
| public void process(XMLStreamWriter out, Format format, List<? extends Content> list) throws XMLStreamException This will handle printing out a list of nodes. This can be useful for printing the content of an element that contains HTML, like "<description>JDOM is <b>fun>!</description>".
| |
| process | back to summary |
|---|---|
| public void process(XMLStreamWriter out, Format format, CDATA cdata) throws XMLStreamException Print out a
| |
| process | back to summary |
|---|---|
| public void process(XMLStreamWriter out, Format format, Text text) throws XMLStreamException Print out a
| |
| process | back to summary |
|---|---|
| public void process(XMLStreamWriter out, Format format, Comment comment) throws XMLStreamException Print out a
| |
| process | back to summary |
|---|---|
| public void process(XMLStreamWriter out, Format format, ProcessingInstruction pi) throws XMLStreamException Print out a
| |
| process | back to summary |
|---|---|
| public void process(XMLStreamWriter out, Format format, EntityRef entity) throws XMLStreamException Print out a
| |