org.apache.cxf.staxutils.transform
Class TransformUtils

java.lang.Object
  extended by org.apache.cxf.staxutils.transform.TransformUtils

public final class TransformUtils
extends Object


Method Summary
protected static void convertToMapOfQNames(Map<String,String> map, Map<QName,QName> elementsMap)
           
protected static void convertToQNamesMap(Map<String,String> map, org.apache.cxf.staxutils.transform.QNamesMap elementsMap, Map<String,String> nsMap)
           
static javax.xml.stream.XMLStreamReader createNewReaderIfNeeded(javax.xml.stream.XMLStreamReader reader, InputStream is)
           
static javax.xml.stream.XMLStreamWriter createNewWriterIfNeeded(javax.xml.stream.XMLStreamWriter writer, OutputStream os)
           
static javax.xml.stream.XMLStreamReader createTransformReaderIfNeeded(javax.xml.stream.XMLStreamReader reader, InputStream is, List<String> inDropElements, Map<String,String> inElementsMap, Map<String,String> inAppendMap, boolean blockOriginalReader)
           
static javax.xml.stream.XMLStreamWriter createTransformWriterIfNeeded(javax.xml.stream.XMLStreamWriter writer, OutputStream os, Map<String,String> outElementsMap, List<String> outDropElements, Map<String,String> outAppendMap, boolean attributesToElements)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createNewReaderIfNeeded

public static javax.xml.stream.XMLStreamReader createNewReaderIfNeeded(javax.xml.stream.XMLStreamReader reader,
                                                                       InputStream is)

createNewWriterIfNeeded

public static javax.xml.stream.XMLStreamWriter createNewWriterIfNeeded(javax.xml.stream.XMLStreamWriter writer,
                                                                       OutputStream os)

createTransformWriterIfNeeded

public static javax.xml.stream.XMLStreamWriter createTransformWriterIfNeeded(javax.xml.stream.XMLStreamWriter writer,
                                                                             OutputStream os,
                                                                             Map<String,String> outElementsMap,
                                                                             List<String> outDropElements,
                                                                             Map<String,String> outAppendMap,
                                                                             boolean attributesToElements)

createTransformReaderIfNeeded

public static javax.xml.stream.XMLStreamReader createTransformReaderIfNeeded(javax.xml.stream.XMLStreamReader reader,
                                                                             InputStream is,
                                                                             List<String> inDropElements,
                                                                             Map<String,String> inElementsMap,
                                                                             Map<String,String> inAppendMap,
                                                                             boolean blockOriginalReader)

convertToQNamesMap

protected static void convertToQNamesMap(Map<String,String> map,
                                         org.apache.cxf.staxutils.transform.QNamesMap elementsMap,
                                         Map<String,String> nsMap)

convertToMapOfQNames

protected static void convertToMapOfQNames(Map<String,String> map,
                                           Map<QName,QName> elementsMap)


Apache CXF