org.jvnet.jaxb2_commons.lang
Class DefaultCopyStrategy

java.lang.Object
  extended by org.jvnet.jaxb2_commons.lang.DefaultCopyStrategy
All Implemented Interfaces:
CopyStrategy
Direct Known Subclasses:
JAXBCopyStrategy

public class DefaultCopyStrategy
extends Object
implements CopyStrategy


Field Summary
static CopyStrategy INSTANCE
           
 
Constructor Summary
DefaultCopyStrategy()
           
 
Method Summary
 boolean copy(ObjectLocator locator, boolean value)
           
 boolean[] copy(ObjectLocator locator, boolean[] array)
           
 byte copy(ObjectLocator locator, byte value)
           
 byte[] copy(ObjectLocator locator, byte[] array)
           
 char copy(ObjectLocator locator, char value)
           
 char[] copy(ObjectLocator locator, char[] array)
           
 double copy(ObjectLocator locator, double value)
           
 double[] copy(ObjectLocator locator, double[] array)
           
 float copy(ObjectLocator locator, float value)
           
 float[] copy(ObjectLocator locator, float[] array)
           
 int copy(ObjectLocator locator, int value)
           
 int[] copy(ObjectLocator locator, int[] array)
           
 long copy(ObjectLocator locator, long value)
           
 long[] copy(ObjectLocator locator, long[] array)
           
 Object copy(ObjectLocator locator, Object value)
           
 Object[] copy(ObjectLocator locator, Object[] array)
           
 short copy(ObjectLocator locator, short value)
           
 short[] copy(ObjectLocator locator, short[] array)
           
protected  Object copyInternal(ObjectLocator locator, Cloneable object)
           
protected  Object copyInternal(ObjectLocator locator, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final CopyStrategy INSTANCE
Constructor Detail

DefaultCopyStrategy

public DefaultCopyStrategy()
Method Detail

copyInternal

protected Object copyInternal(ObjectLocator locator,
                              Object object)

copy

public Object copy(ObjectLocator locator,
                   Object value)
Specified by:
copy in interface CopyStrategy

copy

public long copy(ObjectLocator locator,
                 long value)
Specified by:
copy in interface CopyStrategy

copy

public int copy(ObjectLocator locator,
                int value)
Specified by:
copy in interface CopyStrategy

copy

public short copy(ObjectLocator locator,
                  short value)
Specified by:
copy in interface CopyStrategy

copy

public char copy(ObjectLocator locator,
                 char value)
Specified by:
copy in interface CopyStrategy

copy

public byte copy(ObjectLocator locator,
                 byte value)
Specified by:
copy in interface CopyStrategy

copy

public double copy(ObjectLocator locator,
                   double value)
Specified by:
copy in interface CopyStrategy

copy

public float copy(ObjectLocator locator,
                  float value)
Specified by:
copy in interface CopyStrategy

copy

public boolean copy(ObjectLocator locator,
                    boolean value)
Specified by:
copy in interface CopyStrategy

copy

public Object[] copy(ObjectLocator locator,
                     Object[] array)
Specified by:
copy in interface CopyStrategy

copy

public long[] copy(ObjectLocator locator,
                   long[] array)
Specified by:
copy in interface CopyStrategy

copy

public int[] copy(ObjectLocator locator,
                  int[] array)
Specified by:
copy in interface CopyStrategy

copy

public short[] copy(ObjectLocator locator,
                    short[] array)
Specified by:
copy in interface CopyStrategy

copy

public char[] copy(ObjectLocator locator,
                   char[] array)
Specified by:
copy in interface CopyStrategy

copy

public byte[] copy(ObjectLocator locator,
                   byte[] array)
Specified by:
copy in interface CopyStrategy

copy

public double[] copy(ObjectLocator locator,
                     double[] array)
Specified by:
copy in interface CopyStrategy

copy

public float[] copy(ObjectLocator locator,
                    float[] array)
Specified by:
copy in interface CopyStrategy

copy

public boolean[] copy(ObjectLocator locator,
                      boolean[] array)
Specified by:
copy in interface CopyStrategy

copyInternal

protected Object copyInternal(ObjectLocator locator,
                              Cloneable object)


Copyright © 2005-2012. All Rights Reserved.