Apache CXF API

org.apache.cxf.staxutils.transform
Class OutTransformWriter

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

public class OutTransformWriter
extends DelegatingXMLStreamWriter


Constructor Summary
OutTransformWriter(javax.xml.stream.XMLStreamWriter writer, Map<String,String> outMap, Map<String,String> append, List<String> dropEls, boolean attributesToElements, String defaultNamespace)
           
OutTransformWriter(javax.xml.stream.XMLStreamWriter writer, Map<String,String> outEMap, Map<String,String> append, List<String> dropEls, Map<String,String> outAMap, boolean attributesToElements, String defaultNamespace)
           
 
Method Summary
 NamespaceContext getNamespaceContext()
           
 void setDefaultNamespace(String uri)
           
 void writeAttribute(String local, String value)
           
 void writeAttribute(String prefix, String uri, String local, String value)
           
 void writeCharacters(String text)
           
 void writeDefaultNamespace(String uri)
           
 void writeEndElement()
           
 void writeNamespace(String prefix, String uri)
           
 void writeStartElement(String local)
           
 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, getPrefix, getProperty, setNamespaceContext, setPrefix, writeAttribute, writeCData, writeCharacters, writeComment, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndDocument, writeEntityRef, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartDocument, writeStartDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutTransformWriter

public OutTransformWriter(javax.xml.stream.XMLStreamWriter writer,
                          Map<String,String> outMap,
                          Map<String,String> append,
                          List<String> dropEls,
                          boolean attributesToElements,
                          String defaultNamespace)

OutTransformWriter

public OutTransformWriter(javax.xml.stream.XMLStreamWriter writer,
                          Map<String,String> outEMap,
                          Map<String,String> append,
                          List<String> dropEls,
                          Map<String,String> outAMap,
                          boolean attributesToElements,
                          String defaultNamespace)
Method Detail

writeNamespace

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

writeDefaultNamespace

public void writeDefaultNamespace(String uri)
                           throws javax.xml.stream.XMLStreamException
Specified by:
writeDefaultNamespace in interface javax.xml.stream.XMLStreamWriter
Overrides:
writeDefaultNamespace 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

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

writeStartElement

public void writeStartElement(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

writeEndElement

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

writeCharacters

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

getNamespaceContext

public NamespaceContext getNamespaceContext()
Specified by:
getNamespaceContext in interface javax.xml.stream.XMLStreamWriter
Overrides:
getNamespaceContext in class DelegatingXMLStreamWriter

writeAttribute

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

writeAttribute

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

Apache CXF API

Apache CXF