Deprecated
as a consequence of AbstractXmlWriter being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final XMLStreamWriter | |
| private final QNameMap | |
| private int | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | StaxWriter(QNameMap
is the mapper of Java class names to QNames qnameMap, XMLStreamWriter the stream to output to out, NameCoder the xml-friendly replacer to escape Java names nameCoder)Allows a StaxWriter to be created for partial XML output |
| public | StaxWriter(QNameMap
is the mapper of Java class names to QNames qnameMap, XMLStreamWriter the stream to output to out, boolean a flag to indicate whether or not the start/end document
events should be written writeEnclosingDocument, boolean a flag to enable StAX' namespace repairing mode namespaceRepairingMode, NameCoder the xml-friendly replacer to escape Java names nameCoder)Allows a StaxWriter to be created for partial XML output |
| public | StaxWriter(QNameMap
is the mapper of Java class names to QNames qnameMap, XMLStreamWriter the stream to output to out, boolean a flag to indicate whether or not the start/end document
events should be written writeEnclosingDocument, boolean namespaceRepairingMode)Allows a StaxWriter to be created for partial XML output |
| public | StaxWriter(QNameMap
is the mapper of Java class names to QNames qnameMap, XMLStreamWriter the stream to output to out, boolean a flag to indicate whether or not the start/end document
events should be written writeEnclosingDocument, boolean namespaceRepairingMode, XmlFriendlyReplacer the xml-friendly replacer to escape Java names replacer)
Deprecated
As of 1.4 use
Allows a StaxWriter to be created for partial XML output
StaxWriter#StaxWriter(QNameMap, XMLStreamWriter, boolean, boolean, NameCoder)
instead
|
| Modifier and Type | Method and Description |
|---|---|
| public void | addAttribute(String name, String value)
Implements com. |
| public void | close()
Implements com. |
| public void | |
| public void | flush()
Implements com. |
| protected QNameMap | |
| protected XMLStreamWriter | |
| public boolean | |
| public void | setValue(String text)
Implements com. |
| public void |
| namespaceRepairingMode | back to summary |
|---|---|
| private boolean namespaceRepairingMode | |
| out | back to summary |
|---|---|
| private final XMLStreamWriter out | |
| qnameMap | back to summary |
|---|---|
| private final QNameMap qnameMap | |
| tagDepth | back to summary |
|---|---|
| private int tagDepth | |
| writeEnclosingDocument | back to summary |
|---|---|
| private final boolean writeEnclosingDocument | |
| StaxWriter | back to summary |
|---|---|
| public StaxWriter(QNameMap qnameMap, XMLStreamWriter out) throws XMLStreamException | |
| StaxWriter | back to summary |
|---|---|
| public StaxWriter(QNameMap qnameMap, XMLStreamWriter out, NameCoder nameCoder) throws XMLStreamException Allows a StaxWriter to be created for partial XML output
| |
| StaxWriter | back to summary |
|---|---|
| public StaxWriter(QNameMap qnameMap, XMLStreamWriter out, boolean writeEnclosingDocument, boolean namespaceRepairingMode, NameCoder nameCoder) throws XMLStreamException Allows a StaxWriter to be created for partial XML output
| |
| StaxWriter | back to summary |
|---|---|
| public StaxWriter(QNameMap qnameMap, XMLStreamWriter out, boolean writeEnclosingDocument, boolean namespaceRepairingMode) throws XMLStreamException Allows a StaxWriter to be created for partial XML output
| |
| StaxWriter | back to summary |
|---|---|
| public StaxWriter(QNameMap qnameMap, XMLStreamWriter out, boolean writeEnclosingDocument, boolean namespaceRepairingMode, XmlFriendlyReplacer replacer) throws XMLStreamException
Deprecated As of 1.4 use
Allows a StaxWriter to be created for partial XML output
| |
| addAttribute | back to summary |
|---|---|
| public void addAttribute(String name, String value) Implements com. | |
| close | back to summary |
|---|---|
| public void close() Implements com. Call this method when you're finished with me | |
| endNode | back to summary |
|---|---|
| public void endNode() Implements com. | |
| flush | back to summary |
|---|---|
| public void flush() Implements com. Doc from com. Flush the writer, if necessary. | |
| getQNameMap | back to summary |
|---|---|
| protected QNameMap getQNameMap() | |
| getXMLStreamWriter | back to summary |
|---|---|
| protected XMLStreamWriter getXMLStreamWriter() | |
| isNamespaceRepairingMode | back to summary |
|---|---|
| public boolean isNamespaceRepairingMode() Is StAX namespace repairing mode on or off? | |
| setValue | back to summary |
|---|---|
| public void setValue(String text) Implements com. Doc from com. Write the value (text content) of the current node. | |
| startNode | back to summary |
|---|---|
| public void startNode(String name) Implements com. | |