Apache CXF API

org.apache.cxf.staxutils.transform
Class IgnoreNamespacesWriter

java.lang.Object
  extended by org.apache.cxf.staxutils.DelegatingXMLStreamWriter
      extended by org.apache.cxf.staxutils.transform.IgnoreNamespacesWriter
All Implemented Interfaces:
javax.xml.stream.XMLStreamWriter

public class IgnoreNamespacesWriter
extends DelegatingXMLStreamWriter


Constructor Summary
IgnoreNamespacesWriter(javax.xml.stream.XMLStreamWriter writer)
           
 
Method Summary
 void setDefaultNamespace(String uri)
           
 void setPrefix(String pfx, String uri)
           
 void writeStartElement(String uri, String local)
           
 void writeStartElement(String prefix, String local, String uri)
           
 
Methods inherited from class org.apache.cxf.staxutils.DelegatingXMLStreamWriter
close, flush, getNamespaceContext, getPrefix, getProperty, setNamespaceContext, writeAttribute, writeAttribute, writeAttribute, writeCData, writeCharacters, writeCharacters, writeComment, writeDefaultNamespace, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndDocument, writeEndElement, writeEntityRef, writeNamespace, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartDocument, writeStartDocument, writeStartElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IgnoreNamespacesWriter

public IgnoreNamespacesWriter(javax.xml.stream.XMLStreamWriter writer)
Method Detail

writeStartElement

public void writeStartElement(String prefix,
                              String local,
                              String uri)
                       throws javax.xml.stream.XMLStreamException
Specified by:
writeStartElement in interface javax.xml.stream.XMLStreamWriter
Overrides:
writeStartElement in class DelegatingXMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeStartElement

public void writeStartElement(String uri,
                              String local)
                       throws javax.xml.stream.XMLStreamException
Specified by:
writeStartElement in interface javax.xml.stream.XMLStreamWriter
Overrides:
writeStartElement in class DelegatingXMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

setPrefix

public void setPrefix(String pfx,
                      String uri)
               throws javax.xml.stream.XMLStreamException
Specified by:
setPrefix in interface javax.xml.stream.XMLStreamWriter
Overrides:
setPrefix in class DelegatingXMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

setDefaultNamespace

public void setDefaultNamespace(String uri)
                         throws javax.xml.stream.XMLStreamException
Specified by:
setDefaultNamespace in interface javax.xml.stream.XMLStreamWriter
Overrides:
setDefaultNamespace in class DelegatingXMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

Apache CXF API

Apache CXF