|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.om.util.CopyUtils
public class CopyUtils
CopyUtils provides static utility methods that are useful for creating a copy of an OM/SOAPEnvelope tree. During the expansion, the Source tree retains its shape (OMSourcedElement nodes are not expanded). The Target tree has nodes that retain the class identity of the source node. For example, a SOAPFault in the source tree will have a SOAPFault in the target tree.
Method Summary | |
---|---|
static SOAPEnvelope |
copy(SOAPEnvelope sourceEnv)
Creates a copy of the source envelope. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SOAPEnvelope copy(SOAPEnvelope sourceEnv)
sourceEnv
-
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |