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 voiddoWriteAttribute(String localName, String value) Deprecated.protected abstract voiddoWriteAttribute(String prefix, String namespaceURI, String localName, String value) Deprecated.protected abstract voiddoWriteCData(String data) Deprecated.protected abstract voiddoWriteCharacters(char[] text, int start, int len) Deprecated.protected abstract voiddoWriteCharacters(String text) Deprecated.protected abstract voiddoWriteComment(String data) Deprecated.protected abstract voiddoWriteDefaultNamespace(String namespaceURI) Deprecated.protected abstract voiddoWriteDTD(String dtd) Deprecated.protected abstract voiddoWriteEmptyElement(String localName) Deprecated.protected abstract voiddoWriteEmptyElement(String prefix, String localName, String namespaceURI) Deprecated.protected abstract voidDeprecated.protected abstract voidDeprecated.protected abstract voiddoWriteEntityRef(String name) Deprecated.protected abstract voiddoWriteNamespace(String prefix, String namespaceURI) Deprecated.protected abstract voiddoWriteProcessingInstruction(String target) Deprecated.protected abstract voiddoWriteProcessingInstruction(String target, String data) Deprecated.protected abstract voidDeprecated.protected abstract voiddoWriteStartDocument(String version) Deprecated.protected abstract voiddoWriteStartDocument(String encoding, String version) Deprecated.protected abstract voiddoWriteStartElement(String localName) Deprecated.protected abstract voiddoWriteStartElement(String prefix, String localName, String namespaceURI) Deprecated.final NamespaceContextDeprecated.final StringDeprecated.final voidDeprecated.final voidsetNamespaceContext(NamespaceContext context) Deprecated.final voidDeprecated.final voidwriteAttribute(String localName, String value) Deprecated.final voidwriteAttribute(String namespaceURI, String localName, String value) Deprecated.final voidwriteAttribute(String prefix, String namespaceURI, String localName, String value) Deprecated.final voidwriteCData(String data) Deprecated.final voidwriteCharacters(char[] text, int start, int len) Deprecated.final voidwriteCharacters(String text) Deprecated.final voidwriteComment(String data) Deprecated.final voidwriteDefaultNamespace(String namespaceURI) Deprecated.final voidDeprecated.final voidwriteEmptyElement(String localName) Deprecated.final voidwriteEmptyElement(String namespaceURI, String localName) Deprecated.final voidwriteEmptyElement(String prefix, String localName, String namespaceURI) Deprecated.final voidDeprecated.final voidDeprecated.final voidwriteEntityRef(String name) Deprecated.final voidwriteNamespace(String prefix, String namespaceURI) Deprecated.final voidwriteProcessingInstruction(String target) Deprecated.final voidwriteProcessingInstruction(String target, String data) Deprecated.final voidDeprecated.final voidwriteStartDocument(String version) Deprecated.final voidwriteStartDocument(String encoding, String version) Deprecated.final voidwriteStartElement(String localName) Deprecated.final voidwriteStartElement(String namespaceURI, String localName) Deprecated.final voidwriteStartElement(String prefix, String localName, String namespaceURI) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.xml.stream.XMLStreamWriter
close, flush, getProperty
-
Constructor Details
-
AbstractXMLStreamWriter
public AbstractXMLStreamWriter()Deprecated.
-
-
Method Details
-
getNamespaceContext
Deprecated.- Specified by:
getNamespaceContextin interfaceXMLStreamWriter
-
setNamespaceContext
Deprecated.- Specified by:
setNamespaceContextin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
getPrefix
Deprecated.- Specified by:
getPrefixin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
setDefaultNamespace
Deprecated.- Specified by:
setDefaultNamespacein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
setPrefix
Deprecated.- Specified by:
setPrefixin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeStartDocument
Deprecated.- Specified by:
writeStartDocumentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteStartDocument
Deprecated.- Throws:
XMLStreamException
-
writeStartDocument
Deprecated.- Specified by:
writeStartDocumentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteStartDocument
protected abstract void doWriteStartDocument(String encoding, String version) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeStartDocument
Deprecated.- Specified by:
writeStartDocumentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteStartDocument
Deprecated.- Throws:
XMLStreamException
-
writeDTD
Deprecated.- Specified by:
writeDTDin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteDTD
Deprecated.- Throws:
XMLStreamException
-
writeEndDocument
Deprecated.- Specified by:
writeEndDocumentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteEndDocument
Deprecated.- Throws:
XMLStreamException
-
writeStartElement
public final void writeStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException Deprecated.- Specified by:
writeStartElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeStartElement
public final void writeStartElement(String namespaceURI, String localName) throws XMLStreamException Deprecated.- Specified by:
writeStartElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteStartElement
protected abstract void doWriteStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeStartElement
Deprecated.- Specified by:
writeStartElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteStartElement
Deprecated.- Throws:
XMLStreamException
-
writeEndElement
Deprecated.- Specified by:
writeEndElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteEndElement
Deprecated.- Throws:
XMLStreamException
-
writeEmptyElement
public final void writeEmptyElement(String prefix, String localName, String namespaceURI) throws XMLStreamException Deprecated.- Specified by:
writeEmptyElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEmptyElement
public final void writeEmptyElement(String namespaceURI, String localName) throws XMLStreamException Deprecated.- Specified by:
writeEmptyElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteEmptyElement
protected abstract void doWriteEmptyElement(String prefix, String localName, String namespaceURI) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeEmptyElement
Deprecated.- Specified by:
writeEmptyElementin 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:
writeAttributein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeAttribute
public final void writeAttribute(String namespaceURI, String localName, String value) throws XMLStreamException Deprecated.- Specified by:
writeAttributein 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:
writeAttributein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteAttribute
Deprecated.- Throws:
XMLStreamException
-
writeNamespace
Deprecated.- Specified by:
writeNamespacein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteNamespace
protected abstract void doWriteNamespace(String prefix, String namespaceURI) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeDefaultNamespace
Deprecated.- Specified by:
writeDefaultNamespacein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteDefaultNamespace
Deprecated.- Throws:
XMLStreamException
-
writeCharacters
Deprecated.- Specified by:
writeCharactersin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteCharacters
protected abstract void doWriteCharacters(char[] text, int start, int len) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeCharacters
Deprecated.- Specified by:
writeCharactersin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteCharacters
Deprecated.- Throws:
XMLStreamException
-
writeCData
Deprecated.- Specified by:
writeCDatain interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteCData
Deprecated.- Throws:
XMLStreamException
-
writeComment
Deprecated.- Specified by:
writeCommentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteComment
Deprecated.- Throws:
XMLStreamException
-
writeEntityRef
Deprecated.- Specified by:
writeEntityRefin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteEntityRef
Deprecated.- Throws:
XMLStreamException
-
writeProcessingInstruction
Deprecated.- Specified by:
writeProcessingInstructionin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteProcessingInstruction
protected abstract void doWriteProcessingInstruction(String target, String data) throws XMLStreamException Deprecated.- Throws:
XMLStreamException
-
writeProcessingInstruction
Deprecated.- Specified by:
writeProcessingInstructionin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
doWriteProcessingInstruction
Deprecated.- Throws:
XMLStreamException
-