public class CustomStaxWriter
extends com.thoughtworks.xstream.io.xml.StaxWriter
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() |
void |
setDefaultNamespace(String uri) |
void |
setValue(String text) |
void |
startNode(String arg0) |
void |
writeNamespace(String prefix,
String uri) |
addAttribute, close, flush, getQNameMap, getXMLStreamWriter, isNamespaceRepairingMode
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
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.