public class BadgerFishXMLStreamWriter extends AbstractXMLStreamWriter
| Constructor and Description |
|---|
BadgerFishXMLStreamWriter(Writer writer) |
BadgerFishXMLStreamWriter(Writer writer,
JSONObject currentNode) |
BadgerFishXMLStreamWriter(Writer writer,
JSONObject currentNode,
FastStack nodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
protected JSONObject |
getCurrentNode() |
NamespaceContext |
getNamespaceContext() |
protected FastStack |
getNodes() |
String |
getPrefix(String ns) |
Object |
getProperty(String arg0) |
void |
setDefaultNamespace(String arg0) |
void |
setNamespaceContext(NamespaceContext context) |
void |
setPrefix(String arg0,
String arg1) |
void |
writeAttribute(String local,
String value) |
void |
writeAttribute(String ns,
String local,
String value) |
void |
writeAttribute(String p,
String ns,
String local,
String value) |
void |
writeCharacters(String text) |
void |
writeDefaultNamespace(String ns) |
void |
writeEndDocument() |
void |
writeEndElement() |
void |
writeEntityRef(String arg0) |
void |
writeNamespace(String prefix,
String ns) |
void |
writeProcessingInstruction(String arg0) |
void |
writeProcessingInstruction(String arg0,
String arg1) |
void |
writeStartDocument() |
void |
writeStartElement(String prefix,
String local,
String ns) |
getSerializedAsArrays, isArrayKeysWithSlashAvailable, serializeAsArray, seriliazeAsArray, writeCData, writeCharacters, writeComment, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeStartDocument, writeStartDocument, writeStartElement, writeStartElementpublic BadgerFishXMLStreamWriter(Writer writer)
public BadgerFishXMLStreamWriter(Writer writer, JSONObject currentNode)
public BadgerFishXMLStreamWriter(Writer writer, JSONObject currentNode, FastStack nodes)
public void close()
throws XMLStreamException
XMLStreamExceptionpublic void flush()
throws XMLStreamException
XMLStreamExceptionpublic NamespaceContext getNamespaceContext()
public String getPrefix(String ns) throws XMLStreamException
XMLStreamExceptionpublic Object getProperty(String arg0) throws IllegalArgumentException
IllegalArgumentExceptionpublic void setDefaultNamespace(String arg0) throws XMLStreamException
XMLStreamExceptionpublic void setNamespaceContext(NamespaceContext context) throws XMLStreamException
XMLStreamExceptionpublic void setPrefix(String arg0, String arg1) throws XMLStreamException
XMLStreamExceptionpublic void writeAttribute(String p, 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 writeDefaultNamespace(String ns) throws XMLStreamException
XMLStreamExceptionpublic void writeEndElement()
throws XMLStreamException
XMLStreamExceptionpublic void writeEntityRef(String arg0) throws XMLStreamException
XMLStreamExceptionpublic void writeNamespace(String prefix, String ns) throws XMLStreamException
XMLStreamExceptionpublic void writeProcessingInstruction(String arg0, String arg1) throws XMLStreamException
XMLStreamExceptionpublic void writeProcessingInstruction(String arg0) throws XMLStreamException
XMLStreamExceptionpublic void writeStartDocument()
throws XMLStreamException
XMLStreamExceptionpublic void writeEndDocument()
throws XMLStreamException
writeEndDocument in interface XMLStreamWriterwriteEndDocument in class AbstractXMLStreamWriterXMLStreamExceptionpublic void writeStartElement(String prefix, String local, String ns) throws XMLStreamException
XMLStreamExceptionprotected JSONObject getCurrentNode()
protected FastStack getNodes()
Copyright © 2018. All rights reserved.