Modifier and Type | Class and Description |
---|---|
static class |
AggregateCloner.Builder
Represents a builder for aggregate (combined) cloners.
|
static class |
AggregateCloner.BuilderParameters
Supplies the cloner factories with necessary parameters.
|
Modifier and Type | Field and Description |
---|---|
static AggregateCloner |
DEFAULT
Represents a default aggregate cloner.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canClone(java.lang.Object source)
Determine whether or not the current cloner can clone the given object.
|
java.lang.Object |
clone(java.lang.Object source)
Perform the clone.
|
java.util.List<Cloner> |
getCloners()
Retrieves a view of the current list of cloners.
|
static AggregateCloner.Builder |
newBuilder()
Begins constructing a new aggregate cloner.
|
public static final AggregateCloner DEFAULT
public static AggregateCloner.Builder newBuilder()
public java.util.List<Cloner> getCloners()
public boolean canClone(java.lang.Object source)
Cloner
public java.lang.Object clone(java.lang.Object source)
Cloner
This method should never be called unless a corresponding Cloner.canClone(Object)
returns TRUE.