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, isNamespaceRepairingMode
encodeAttribute, encodeNode, startNode, underlyingWriter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public CustomStaxWriter(com.thoughtworks.xstream.io.xml.QNameMap qnameMap, XMLStreamWriter out, boolean writeStartEndDocument, boolean repairingNamespace, com.thoughtworks.xstream.io.naming.NameCoder nameCoder) throws XMLStreamException
XMLStreamException
public void writeNamespace(String prefix, String uri) throws XMLStreamException
XMLStreamException
public void setDefaultNamespace(String uri) throws XMLStreamException
XMLStreamException
public void endNode()
endNode
in interface com.thoughtworks.xstream.io.HierarchicalStreamWriter
endNode
in class com.thoughtworks.xstream.io.xml.StaxWriter
public void startNode(String arg0)
startNode
in interface com.thoughtworks.xstream.io.HierarchicalStreamWriter
startNode
in class com.thoughtworks.xstream.io.xml.StaxWriter
public void setValue(String text)
setValue
in interface com.thoughtworks.xstream.io.HierarchicalStreamWriter
setValue
in class com.thoughtworks.xstream.io.xml.StaxWriter
public com.thoughtworks.xstream.io.xml.QNameMap getQNameMap()
getQNameMap
in class com.thoughtworks.xstream.io.xml.StaxWriter
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.