com.atlassian.bamboo.utils
Class DeepCopier

java.lang.Object
  extended by com.atlassian.bamboo.persister.xstream.AbstractXStreamPersister
      extended by com.atlassian.bamboo.utils.DeepCopier

public class DeepCopier
extends AbstractXStreamPersister

This class uses XStream to deep copy an object.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.persister.xstream.AbstractXStreamPersister
AbstractXStreamPersister.AntBuilderMap, AbstractXStreamPersister.MavenBuilderMap, AbstractXStreamPersister.ScriptBuilderMap
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.persister.xstream.AbstractXStreamPersister
builderManager, myXstream
 
Constructor Summary
DeepCopier()
           
 
Method Summary
 Object copy(Object originalObject)
          Create a new instance of the the originalObject
 
Methods inherited from class com.atlassian.bamboo.persister.xstream.AbstractXStreamPersister
fromXML, init, registerClassAlias, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeepCopier

public DeepCopier()
Method Detail

copy

public Object copy(Object originalObject)
Create a new instance of the the originalObject

Parameters:
originalObject -
Returns:
A new instance that is identical to the original


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.