com.thoughtworks.xstream.io.json
Class JettisonStaxWriter
java.lang.Object
com.thoughtworks.xstream.io.AbstractWriter
com.thoughtworks.xstream.io.xml.AbstractXmlWriter
com.thoughtworks.xstream.io.xml.StaxWriter
com.thoughtworks.xstream.io.json.JettisonStaxWriter
- All Implemented Interfaces:
- ExtendedHierarchicalStreamWriter, HierarchicalStreamWriter, XmlFriendlyWriter
public class JettisonStaxWriter
- extends StaxWriter
A specialized StaxWriter
that makes usage of internal functionality of Jettison.
- Since:
- 1.3.1
- Author:
- Jörg Schaible
Constructor Summary |
JettisonStaxWriter(QNameMap qnameMap,
XMLStreamWriter out,
boolean writeEnclosingDocument,
boolean namespaceRepairingMode,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention)
|
JettisonStaxWriter(QNameMap qnameMap,
XMLStreamWriter out,
boolean writeEnclosingDocument,
boolean namespaceRepairingMode,
NameCoder nameCoder,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention)
|
JettisonStaxWriter(QNameMap qnameMap,
XMLStreamWriter out,
boolean writeEnclosingDocument,
boolean namespaceRepairingMode,
XmlFriendlyReplacer replacer,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention)
Deprecated. As of 1.4 use
JettisonStaxWriter(QNameMap, XMLStreamWriter, boolean, boolean, NameCoder, MappedNamespaceConvention)
instead |
JettisonStaxWriter(QNameMap qnameMap,
XMLStreamWriter out,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention)
|
JettisonStaxWriter(QNameMap qnameMap,
XMLStreamWriter out,
NameCoder nameCoder,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettisonStaxWriter
public JettisonStaxWriter(QNameMap qnameMap,
XMLStreamWriter out,
boolean writeEnclosingDocument,
boolean namespaceRepairingMode,
NameCoder nameCoder,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention)
throws XMLStreamException
- Throws:
XMLStreamException
- Since:
- 1.4
JettisonStaxWriter
public JettisonStaxWriter(QNameMap qnameMap,
XMLStreamWriter out,
boolean writeEnclosingDocument,
boolean namespaceRepairingMode,
XmlFriendlyReplacer replacer,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention)
throws XMLStreamException
- Deprecated. As of 1.4 use
JettisonStaxWriter(QNameMap, XMLStreamWriter, boolean, boolean, NameCoder, MappedNamespaceConvention)
instead
- Throws:
XMLStreamException
JettisonStaxWriter
public JettisonStaxWriter(QNameMap qnameMap,
XMLStreamWriter out,
boolean writeEnclosingDocument,
boolean namespaceRepairingMode,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention)
throws XMLStreamException
- Throws:
XMLStreamException
JettisonStaxWriter
public JettisonStaxWriter(QNameMap qnameMap,
XMLStreamWriter out,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention)
throws XMLStreamException
- Throws:
XMLStreamException
JettisonStaxWriter
public JettisonStaxWriter(QNameMap qnameMap,
XMLStreamWriter out,
NameCoder nameCoder,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention)
throws XMLStreamException
- Throws:
XMLStreamException
- Since:
- 1.4
startNode
public void startNode(String name,
Class clazz)
- Description copied from class:
AbstractWriter
-
- Specified by:
startNode
in interface ExtendedHierarchicalStreamWriter
- Overrides:
startNode
in class AbstractWriter
Copyright © 2004-2014 XStream. All Rights Reserved.