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, writeStartElementprotected Writer writer
public MappedXMLStreamWriter(MappedNamespaceConvention convention, Writer writer)
public NamespaceContext getNamespaceContext()
public void setNamespaceContext(NamespaceContext context) throws javax.xml.stream.XMLStreamException
public String getTextKey()
public void setValueKey(String valueKey)
public void writeStartDocument()
throws javax.xml.stream.XMLStreamException
public void writeStartElement(String prefix, String local, String ns) throws javax.xml.stream.XMLStreamException
public void writeAttribute(String prefix, String ns, String local, String value) throws javax.xml.stream.XMLStreamException
public void writeAttribute(String ns, String local, String value) throws javax.xml.stream.XMLStreamException
public void writeAttribute(String local, String value) throws javax.xml.stream.XMLStreamException
public void writeCharacters(String text) throws javax.xml.stream.XMLStreamException
public void writeEndElement()
throws javax.xml.stream.XMLStreamException
public void writeEndDocument()
throws javax.xml.stream.XMLStreamException
writeEndDocument in interface javax.xml.stream.XMLStreamWriterwriteEndDocument in class AbstractXMLStreamWriterjavax.xml.stream.XMLStreamExceptionprotected void writeJSONObject(JSONObject root) throws javax.xml.stream.XMLStreamException
public void close()
throws javax.xml.stream.XMLStreamException
public void flush()
throws javax.xml.stream.XMLStreamException
public String getPrefix(String arg0) throws javax.xml.stream.XMLStreamException
public Object getProperty(String arg0) throws IllegalArgumentException
IllegalArgumentExceptionpublic void setDefaultNamespace(String arg0) throws javax.xml.stream.XMLStreamException
public void setPrefix(String arg0, String arg1) throws javax.xml.stream.XMLStreamException
public void writeDefaultNamespace(String arg0) throws javax.xml.stream.XMLStreamException
public void writeEntityRef(String arg0) throws javax.xml.stream.XMLStreamException
public void writeNamespace(String arg0, String arg1) throws javax.xml.stream.XMLStreamException
public void writeProcessingInstruction(String arg0) throws javax.xml.stream.XMLStreamException
public void writeProcessingInstruction(String arg0, String arg1) throws javax.xml.stream.XMLStreamException
public MappedNamespaceConvention getConvention()
Copyright © 2014. All Rights Reserved.