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)
           
 
Method Summary
 NamespaceContext getNamespaceContext()
           
 void writeAttribute(String local, String value)
           
 void writeAttribute(String uri, String local, String value)
           
 void writeCharacters(String text)
           
 void writeEndElement()
           
 void writeNamespace(String prefix, String uri)
           
 void writeStartElement(String prefix, String local, String uri)
           
 
Methods inherited from class org.apache.cxf.staxutils.DelegatingXMLStreamWriter
close, flush, getPrefix, getProperty, setDefaultNamespace, setNamespaceContext, setPrefix, writeAttribute, writeCData, writeCharacters, writeComment, writeDefaultNamespace, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndDocument, writeEntityRef, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement
 
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)
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

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

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 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