public class MappedXMLStreamWriter
extends org.codehaus.jettison.AbstractXMLStreamWriter
| Constructor and Description |
|---|
MappedXMLStreamWriter(MappedNamespaceConvention convention,
Writer writer) |
getSerializedAsArrays, isArrayKeysWithSlashAvailable, serializeAsArray, seriliazeAsArray, writeCData, writeCharacters, writeComment, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeStartDocument, writeStartDocument, writeStartElement, writeStartElementprotected Writer writer
public MappedXMLStreamWriter(MappedNamespaceConvention convention, Writer writer)
public NamespaceContext getNamespaceContext()
public void setNamespaceContext(NamespaceContext context) throws XMLStreamException
XMLStreamExceptionpublic String getTextKey()
public void setValueKey(String valueKey)
public void writeStartDocument()
throws XMLStreamException
XMLStreamExceptionpublic void writeStartElement(String prefix, String local, String ns) throws XMLStreamException
XMLStreamExceptionpublic void writeAttribute(String prefix, String ns, String local, String value) throws XMLStreamException
XMLStreamExceptionpublic void writeAttribute(String ns, String local, String value) throws XMLStreamException
XMLStreamExceptionpublic void writeAttribute(String local, String value) throws XMLStreamException
XMLStreamExceptionpublic void writeCharacters(String text) throws XMLStreamException
XMLStreamExceptionpublic void writeEndElement()
throws XMLStreamException
XMLStreamExceptionpublic void writeEndDocument()
throws XMLStreamException
writeEndDocument in interface XMLStreamWriterwriteEndDocument in class org.codehaus.jettison.AbstractXMLStreamWriterXMLStreamExceptionprotected void writeJSONObject(org.codehaus.jettison.json.JSONObject root)
throws XMLStreamException
root - rootXMLStreamException - XMLStreamExceptionpublic void close()
throws XMLStreamException
XMLStreamExceptionpublic void flush()
throws XMLStreamException
XMLStreamExceptionpublic String getPrefix(String arg0) throws XMLStreamException
XMLStreamExceptionpublic Object getProperty(String arg0) throws IllegalArgumentException
IllegalArgumentExceptionpublic void setDefaultNamespace(String arg0) throws XMLStreamException
XMLStreamExceptionpublic void setPrefix(String arg0, String arg1) throws XMLStreamException
XMLStreamExceptionpublic void writeDefaultNamespace(String arg0) throws XMLStreamException
XMLStreamExceptionpublic void writeEntityRef(String arg0) throws XMLStreamException
XMLStreamExceptionpublic void writeNamespace(String arg0, String arg1) throws XMLStreamException
XMLStreamExceptionpublic void writeProcessingInstruction(String arg0) throws XMLStreamException
XMLStreamExceptionpublic void writeProcessingInstruction(String arg0, String arg1) throws XMLStreamException
XMLStreamExceptionpublic MappedNamespaceConvention getConvention()
Copyright © 2012–2020. All rights reserved.