Class SerializationCopier

java.lang.Object
com.sun.faces.util.copier.SerializationCopier
All Implemented Interfaces:
Copier

public class SerializationCopier extends Object implements Copier
Copier that copies an object by serializing and subsequently deserializing it again.

As per the platform serialization rules, the object and all its non transient dependencies have to implement the Serializable interface.

Since:
2.3
Author:
Arjan Tijms
  • Constructor Details

    • SerializationCopier

      public SerializationCopier()
  • Method Details

    • copy

      public Object copy(Object object)
      Description copied from interface: Copier
      Return an object that's logically a copy of the given object.

      Specified by:
      copy in interface Copier
      Parameters:
      object - the object to be copied
      Returns:
      a copy of the given object