Package org.codehaus.jettison
Class AbstractXMLStreamWriter
- java.lang.Object
-
- org.codehaus.jettison.AbstractXMLStreamWriter
-
- All Implemented Interfaces:
XMLStreamWriter
- Direct Known Subclasses:
BadgerFishXMLStreamWriter
,MappedXMLStreamWriter
public abstract class AbstractXMLStreamWriter extends Object implements XMLStreamWriter
-
-
Constructor Summary
Constructors Constructor Description AbstractXMLStreamWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ArrayList<String>
getSerializedAsArrays()
boolean
isArrayKeysWithSlashAvailable()
void
serializeAsArray(String name)
void
seriliazeAsArray(String name)
Deprecated.since 1.2 because of misspelling.void
writeCData(String text)
void
writeCharacters(char[] arg0, int arg1, int arg2)
void
writeComment(String arg0)
void
writeDTD(String arg0)
void
writeEmptyElement(String local)
void
writeEmptyElement(String ns, String local)
void
writeEmptyElement(String prefix, String local, String ns)
void
writeEndDocument()
void
writeStartDocument(String arg0)
void
writeStartDocument(String arg0, String arg1)
void
writeStartElement(String local)
void
writeStartElement(String ns, String local)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.xml.stream.XMLStreamWriter
close, flush, getNamespaceContext, getPrefix, getProperty, setDefaultNamespace, setNamespaceContext, setPrefix, writeAttribute, writeAttribute, writeAttribute, writeCharacters, writeDefaultNamespace, writeEndElement, writeEntityRef, writeNamespace, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartElement
-
-
-
-
Method Detail
-
writeCData
public void writeCData(String text) throws XMLStreamException
- Specified by:
writeCData
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeCharacters
public void writeCharacters(char[] arg0, int arg1, int arg2) throws XMLStreamException
- Specified by:
writeCharacters
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeEmptyElement
public void writeEmptyElement(String prefix, String local, String ns) throws XMLStreamException
- Specified by:
writeEmptyElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeEmptyElement
public void writeEmptyElement(String ns, String local) throws XMLStreamException
- Specified by:
writeEmptyElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeEmptyElement
public void writeEmptyElement(String local) throws XMLStreamException
- Specified by:
writeEmptyElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeStartDocument
public void writeStartDocument(String arg0, String arg1) throws XMLStreamException
- Specified by:
writeStartDocument
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeStartDocument
public void writeStartDocument(String arg0) throws XMLStreamException
- Specified by:
writeStartDocument
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeStartElement
public void writeStartElement(String ns, String local) throws XMLStreamException
- Specified by:
writeStartElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeStartElement
public void writeStartElement(String local) throws XMLStreamException
- Specified by:
writeStartElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeComment
public void writeComment(String arg0) throws XMLStreamException
- Specified by:
writeComment
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeDTD
public void writeDTD(String arg0) throws XMLStreamException
- Specified by:
writeDTD
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeEndDocument
public void writeEndDocument() throws XMLStreamException
- Specified by:
writeEndDocument
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
serializeAsArray
public void serializeAsArray(String name)
-
seriliazeAsArray
@Deprecated public void seriliazeAsArray(String name)
Deprecated.since 1.2 because of misspelling. Use serializeAsArray(String name) instead.
-
isArrayKeysWithSlashAvailable
public boolean isArrayKeysWithSlashAvailable()
-
-