public class CopyUtils extends Object
Modifier and Type | Method and Description |
---|---|
static SOAPEnvelope |
copy(SOAPEnvelope sourceEnv)
Deprecated.
This method has the same effect as calling
OMInformationItem.clone(OMCloneOptions) on the source
SOAPEnvelope with the following options enabled:
OMInformationItem.clone(OMCloneOptions) directly and fine tune the
options for the particular use case. |
static void |
reader2writer(javax.xml.stream.XMLStreamReader reader,
javax.xml.stream.XMLStreamWriter writer)
Simple utility that takes an XMLStreamReader and writes it
to an XMLStreamWriter
|
public static SOAPEnvelope copy(SOAPEnvelope sourceEnv)
OMInformationItem.clone(OMCloneOptions)
on the source
SOAPEnvelope
with the following options enabled:
OMCloneOptions.setFetchDataHandlers(boolean)
OMCloneOptions.setPreserveModel(boolean)
OMCloneOptions.setCopyOMDataSources(boolean)
OMInformationItem.clone(OMCloneOptions)
directly and fine tune the
options for the particular use case.public static void reader2writer(javax.xml.stream.XMLStreamReader reader, javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
reader
- writer
- javax.xml.stream.XMLStreamException
Copyright ? The Apache Software Foundation. All Rights Reserved.