Class BadgerFishXMLStreamWriter
java.lang.Object
org.codehaus.jettison.AbstractXMLStreamWriter
org.codehaus.jettison.badgerfish.BadgerFishXMLStreamWriter
- All Implemented Interfaces:
XMLStreamWriter
-
Constructor Summary
ConstructorsConstructorDescriptionBadgerFishXMLStreamWriter(Writer writer) BadgerFishXMLStreamWriter(Writer writer, JSONObject currentNode) BadgerFishXMLStreamWriter(Writer writer, JSONObject currentNode, FastStack nodes) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()protected JSONObjectprotected FastStackgetNodes()getProperty(String arg0) voidsetDefaultNamespace(String arg0) voidsetNamespaceContext(NamespaceContext context) voidvoidwriteAttribute(String local, String value) voidwriteAttribute(String ns, String local, String value) voidwriteAttribute(String p, String ns, String local, String value) voidwriteCharacters(String text) voidvoidvoidvoidwriteEntityRef(String arg0) voidwriteNamespace(String prefix, String ns) voidvoidwriteProcessingInstruction(String arg0, String arg1) voidvoidwriteStartElement(String prefix, String local, String ns) Methods inherited from class AbstractXMLStreamWriter
getSerializedAsArrays, isArrayKeysWithSlashAvailable, serializeAsArray, seriliazeAsArray, writeCData, writeCharacters, writeComment, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement
-
Constructor Details
-
BadgerFishXMLStreamWriter
-
BadgerFishXMLStreamWriter
-
BadgerFishXMLStreamWriter
-
-
Method Details
-
close
- Throws:
XMLStreamException
-
flush
- Throws:
XMLStreamException
-
getNamespaceContext
-
getPrefix
- Throws:
XMLStreamException
-
getProperty
- Throws:
IllegalArgumentException
-
setDefaultNamespace
- Throws:
XMLStreamException
-
setNamespaceContext
- Throws:
XMLStreamException
-
setPrefix
- Throws:
XMLStreamException
-
writeAttribute
public void writeAttribute(String p, String ns, String local, String value) throws XMLStreamException - Throws:
XMLStreamException
-
writeAttribute
- Throws:
XMLStreamException
-
writeAttribute
- Throws:
XMLStreamException
-
writeCharacters
- Throws:
XMLStreamException
-
writeDefaultNamespace
- Throws:
XMLStreamException
-
writeEndElement
- Throws:
XMLStreamException
-
writeEntityRef
- Throws:
XMLStreamException
-
writeNamespace
- Throws:
XMLStreamException
-
writeProcessingInstruction
- Throws:
XMLStreamException
-
writeProcessingInstruction
- Throws:
XMLStreamException
-
writeStartDocument
- Throws:
XMLStreamException
-
writeEndDocument
- Specified by:
writeEndDocumentin interfaceXMLStreamWriter- Overrides:
writeEndDocumentin classAbstractXMLStreamWriter- Throws:
XMLStreamException
-
writeStartElement
- Throws:
XMLStreamException
-
getCurrentNode
-
getNodes
-