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