public class MappedXMLStreamWriter extends AbstractXMLStreamWriter
Constructor and Description |
---|
MappedXMLStreamWriter(MappedNamespaceConvention convention,
Writer writer) |
getSerializedAsArrays, 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 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.XMLStreamWriter
writeEndDocument
in class AbstractXMLStreamWriter
javax.xml.stream.XMLStreamException
protected 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
IllegalArgumentException
public 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
Copyright © 2012. All Rights Reserved.