Package org.apache.axiom.util.stax
Class AbstractXMLStreamWriter
java.lang.Object
org.apache.axiom.util.stax.AbstractXMLStreamWriter
- All Implemented Interfaces:
XMLStreamWriter
Deprecated.
This class is no longer maintained.
Partial implementation of the
XMLStreamWriter
interface. It handles namespace bindings,
i.e. the methods related to the namespace context. Subclasses only need to implement write
methods that take a prefix together with the namespace URI argument. This class implements all
XMLStreamWriter
methods that have a namespace URI argument, but no prefix argument.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
doWriteAttribute
(String localName, String value) Deprecated.protected abstract void
doWriteAttribute
(String prefix, String namespaceURI, String localName, String value) Deprecated.protected abstract void
doWriteCData
(String data) Deprecated.protected abstract void
doWriteCharacters
(char[] text, int start, int len) Deprecated.protected abstract void
doWriteCharacters
(String text) Deprecated.protected abstract void
doWriteComment
(String data) Deprecated.protected abstract void
doWriteDefaultNamespace
(String namespaceURI) Deprecated.protected abstract void
doWriteDTD
(String dtd) Deprecated.protected abstract void
doWriteEmptyElement
(String localName) Deprecated.protected abstract void
doWriteEmptyElement
(String prefix, String localName, String namespaceURI) Deprecated.protected abstract void
Deprecated.protected abstract void
Deprecated.protected abstract void
doWriteEntityRef
(String name) Deprecated.protected abstract void
doWriteNamespace
(String prefix, String namespaceURI) Deprecated.protected abstract void
doWriteProcessingInstruction
(String target) Deprecated.protected abstract void
doWriteProcessingInstruction
(String target, String data) Deprecated.protected abstract void
Deprecated.protected abstract void
doWriteStartDocument
(String version) Deprecated.protected abstract void
doWriteStartDocument
(String encoding, String version) Deprecated.protected abstract void
doWriteStartElement
(String localName) Deprecated.protected abstract void
doWriteStartElement
(String prefix, String localName, String namespaceURI) Deprecated.final NamespaceContext
Deprecated.final String
Deprecated.final void
Deprecated.final void
setNamespaceContext
(NamespaceContext context) Deprecated.final void
Deprecated.final void
writeAttribute
(String localName, String value) Deprecated.final void
writeAttribute
(String namespaceURI, String localName, String value) Deprecated.final void
writeAttribute
(String prefix, String namespaceURI, String localName, String value) Deprecated.final void
writeCData
(String data) Deprecated.final void
writeCharacters
(char[] text, int start, int len) Deprecated.final void
writeCharacters
(String text) Deprecated.final void
writeComment
(String data) Deprecated.final void
writeDefaultNamespace
(String namespaceURI) Deprecated.final void
Deprecated.final void
writeEmptyElement
(String localName) Deprecated.final void
writeEmptyElement
(String namespaceURI, String localName) Deprecated.final void
writeEmptyElement
(String prefix, String localName, String namespaceURI) Deprecated.final void
Deprecated.final void
Deprecated.final void
writeEntityRef
(String name) Deprecated.final void
writeNamespace
(String prefix, String namespaceURI) Deprecated.final void
writeProcessingInstruction
(String target) Deprecated.final void
writeProcessingInstruction
(String target, String data) Deprecated.final void
Deprecated.final void
writeStartDocument
(String version) Deprecated.final void
writeStartDocument
(String encoding, String version) Deprecated.final void
writeStartElement
(String localName) Deprecated.final void
writeStartElement
(String namespaceURI, String localName) Deprecated.final void
writeStartElement
(String prefix, String localName, String namespaceURI) Deprecated.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, getProperty
-
Constructor Details
-
AbstractXMLStreamWriter
public AbstractXMLStreamWriter()Deprecated.
-
-
Method Details
-
getNamespaceContext
Deprecated.- Specified by:
getNamespaceContext
in interfaceXMLStreamWriter
-
setNamespaceContext
Deprecated.- Specified by:
setNamespaceContext
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
getPrefix
Deprecated.- Specified by:
getPrefix
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
setDefaultNamespace
Deprecated.- Specified by:
setDefaultNamespace
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
setPrefix
Deprecated.- Specified by:
setPrefix
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeStartDocument
Deprecated.- Specified by:
writeStartDocument
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteStartDocument
Deprecated.- Throws:
XMLStreamException
-
writeStartDocument
Deprecated.- Specified by:
writeStartDocument
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteStartDocument
protected abstract void doWriteStartDocument(String encoding, String version) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeStartDocument
Deprecated.- Specified by:
writeStartDocument
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteStartDocument
Deprecated.- Throws:
XMLStreamException
-
writeDTD
Deprecated.- Specified by:
writeDTD
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteDTD
Deprecated.- Throws:
XMLStreamException
-
writeEndDocument
Deprecated.- Specified by:
writeEndDocument
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteEndDocument
Deprecated.- Throws:
XMLStreamException
-
writeStartElement
public final void writeStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException Deprecated.- Specified by:
writeStartElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeStartElement
public final void writeStartElement(String namespaceURI, String localName) throws XMLStreamException Deprecated.- Specified by:
writeStartElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteStartElement
protected abstract void doWriteStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeStartElement
Deprecated.- Specified by:
writeStartElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteStartElement
Deprecated.- Throws:
XMLStreamException
-
writeEndElement
Deprecated.- Specified by:
writeEndElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteEndElement
Deprecated.- Throws:
XMLStreamException
-
writeEmptyElement
public final void writeEmptyElement(String prefix, String localName, String namespaceURI) throws XMLStreamException Deprecated.- Specified by:
writeEmptyElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeEmptyElement
public final void writeEmptyElement(String namespaceURI, String localName) throws XMLStreamException Deprecated.- Specified by:
writeEmptyElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteEmptyElement
protected abstract void doWriteEmptyElement(String prefix, String localName, String namespaceURI) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeEmptyElement
Deprecated.- Specified by:
writeEmptyElement
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteEmptyElement
Deprecated.- Throws:
XMLStreamException
-
writeAttribute
public final void writeAttribute(String prefix, String namespaceURI, String localName, String value) throws XMLStreamException Deprecated.- Specified by:
writeAttribute
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
writeAttribute
public final void writeAttribute(String namespaceURI, String localName, String value) throws XMLStreamException Deprecated.- Specified by:
writeAttribute
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteAttribute
protected abstract void doWriteAttribute(String prefix, String namespaceURI, String localName, String value) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeAttribute
Deprecated.- Specified by:
writeAttribute
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteAttribute
Deprecated.- Throws:
XMLStreamException
-
writeNamespace
Deprecated.- Specified by:
writeNamespace
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteNamespace
protected abstract void doWriteNamespace(String prefix, String namespaceURI) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeDefaultNamespace
Deprecated.- Specified by:
writeDefaultNamespace
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteDefaultNamespace
Deprecated.- Throws:
XMLStreamException
-
writeCharacters
Deprecated.- Specified by:
writeCharacters
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteCharacters
protected abstract void doWriteCharacters(char[] text, int start, int len) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeCharacters
Deprecated.- Specified by:
writeCharacters
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteCharacters
Deprecated.- Throws:
XMLStreamException
-
writeCData
Deprecated.- Specified by:
writeCData
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteCData
Deprecated.- Throws:
XMLStreamException
-
writeComment
Deprecated.- Specified by:
writeComment
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteComment
Deprecated.- Throws:
XMLStreamException
-
writeEntityRef
Deprecated.- Specified by:
writeEntityRef
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteEntityRef
Deprecated.- Throws:
XMLStreamException
-
writeProcessingInstruction
Deprecated.- Specified by:
writeProcessingInstruction
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteProcessingInstruction
protected abstract void doWriteProcessingInstruction(String target, String data) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeProcessingInstruction
Deprecated.- Specified by:
writeProcessingInstruction
in interfaceXMLStreamWriter
- Throws:
XMLStreamException
-
doWriteProcessingInstruction
Deprecated.- Throws:
XMLStreamException
-