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, writeStartElement
public BadgerFishXMLStreamWriter(Writer writer)
public BadgerFishXMLStreamWriter(Writer writer, JSONObject currentNode)
public BadgerFishXMLStreamWriter(Writer writer, JSONObject currentNode, FastStack nodes)
public void close() throws XMLStreamException
XMLStreamException
public void flush() throws XMLStreamException
XMLStreamException
public NamespaceContext getNamespaceContext()
public String getPrefix(String ns) throws XMLStreamException
XMLStreamException
public Object getProperty(String arg0) throws IllegalArgumentException
IllegalArgumentException
public void setDefaultNamespace(String arg0) throws XMLStreamException
XMLStreamException
public void setNamespaceContext(NamespaceContext context) throws XMLStreamException
XMLStreamException
public void setPrefix(String arg0, String arg1) throws XMLStreamException
XMLStreamException
public void writeAttribute(String p, 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 writeDefaultNamespace(String ns) throws XMLStreamException
XMLStreamException
public void writeEndElement() throws XMLStreamException
XMLStreamException
public void writeEntityRef(String arg0) throws XMLStreamException
XMLStreamException
public void writeNamespace(String prefix, String ns) throws XMLStreamException
XMLStreamException
public void writeProcessingInstruction(String arg0, String arg1) throws XMLStreamException
XMLStreamException
public void writeProcessingInstruction(String arg0) throws XMLStreamException
XMLStreamException
public void writeStartDocument() throws XMLStreamException
XMLStreamException
public void writeEndDocument() throws XMLStreamException
writeEndDocument
in interface XMLStreamWriter
writeEndDocument
in class AbstractXMLStreamWriter
XMLStreamException
public void writeStartElement(String prefix, String local, String ns) throws XMLStreamException
XMLStreamException
protected JSONObject getCurrentNode()
protected FastStack getNodes()
Copyright © 2023. All rights reserved.