Package org.frankframework.validation
Class NamespaceCorrectingXMLStreamWriter
java.lang.Object
javanet.staxutils.helpers.StreamWriterDelegate
org.frankframework.validation.NamespaceCorrectingXMLStreamWriter
- All Implemented Interfaces:
XMLStreamWriter
public class NamespaceCorrectingXMLStreamWriter
extends javanet.staxutils.helpers.StreamWriterDelegate
This writer simply filters an other writer. It copies everything, except it
maps 'wrong' namespaces to correct ones.
- Author:
- Michiel Meeuwissen
-
Field Summary
Fields inherited from class javanet.staxutils.helpers.StreamWriterDelegate
out
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeAttribute
(String prefix, String namespaceURI, String localName, String value) void
writeDefaultNamespace
(String namespaceURI) void
writeNamespace
(String prefix, String namespaceURI) Methods inherited from class javanet.staxutils.helpers.StreamWriterDelegate
close, flush, getNamespaceContext, getPrefix, getProperty, setDefaultNamespace, setNamespaceContext, setPrefix, writeAttribute, writeAttribute, writeCData, writeCharacters, writeCharacters, writeComment, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndDocument, writeEndElement, writeEntityRef, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement, writeStartElement
-
Constructor Details
-
NamespaceCorrectingXMLStreamWriter
-
-
Method Details
-
writeAttribute
public void writeAttribute(String prefix, String namespaceURI, String localName, String value) throws XMLStreamException - Specified by:
writeAttribute
in interfaceXMLStreamWriter
- Overrides:
writeAttribute
in classjavanet.staxutils.helpers.StreamWriterDelegate
- Throws:
XMLStreamException
-
writeNamespace
- Specified by:
writeNamespace
in interfaceXMLStreamWriter
- Overrides:
writeNamespace
in classjavanet.staxutils.helpers.StreamWriterDelegate
- Throws:
XMLStreamException
-
writeDefaultNamespace
- Specified by:
writeDefaultNamespace
in interfaceXMLStreamWriter
- Overrides:
writeDefaultNamespace
in classjavanet.staxutils.helpers.StreamWriterDelegate
- Throws:
XMLStreamException
-