public class CustomStaxWriter extends com.thoughtworks.xstream.io.xml.StaxWriter implements AutoCloseable
| Constructor and Description |
|---|
CustomStaxWriter(com.thoughtworks.xstream.io.xml.QNameMap qnameMap,
XMLStreamWriter out,
boolean writeStartEndDocument,
boolean repairingNamespace,
com.thoughtworks.xstream.io.naming.NameCoder nameCoder) |
| Modifier and Type | Method and Description |
|---|---|
void |
endNode() |
com.thoughtworks.xstream.io.xml.QNameMap |
getQNameMap() |
void |
setDefaultNamespace(String uri) |
void |
setValue(String text) |
void |
startNode(String arg0) |
void |
writeNamespace(String prefix,
String uri) |
addAttribute, close, flush, getXMLStreamWriter, isNamespaceRepairingModeencodeAttribute, encodeNode, startNode, underlyingWriterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic CustomStaxWriter(com.thoughtworks.xstream.io.xml.QNameMap qnameMap,
XMLStreamWriter out,
boolean writeStartEndDocument,
boolean repairingNamespace,
com.thoughtworks.xstream.io.naming.NameCoder nameCoder)
throws XMLStreamException
XMLStreamExceptionpublic void writeNamespace(String prefix, String uri) throws XMLStreamException
XMLStreamExceptionpublic void setDefaultNamespace(String uri) throws XMLStreamException
XMLStreamExceptionpublic void endNode()
endNode in interface com.thoughtworks.xstream.io.HierarchicalStreamWriterendNode in class com.thoughtworks.xstream.io.xml.StaxWriterpublic void startNode(String arg0)
startNode in interface com.thoughtworks.xstream.io.HierarchicalStreamWriterstartNode in class com.thoughtworks.xstream.io.xml.StaxWriterpublic void setValue(String text)
setValue in interface com.thoughtworks.xstream.io.HierarchicalStreamWritersetValue in class com.thoughtworks.xstream.io.xml.StaxWriterpublic com.thoughtworks.xstream.io.xml.QNameMap getQNameMap()
getQNameMap in class com.thoughtworks.xstream.io.xml.StaxWriterCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.