public final class Merger
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
merge(JavaScriptObjectContainer target,
com.google.gwt.core.client.JavaScriptObject source)
Copies
source properties into target only if not defined in target.target is not cloned and will be updated with source properties. |
static void |
merge(JavaScriptObjectContainer target,
JavaScriptObjectContainer source)
Copies
source properties into target only if not defined in target.target is not cloned and will be updated with source properties. |
static JavaScriptObjectContainer |
merge(JavaScriptObjectContainer target,
JavaScriptObjectContainer source,
java.lang.String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument)
into target only if not defined in target.target is not cloned and will be updated with source properties.The property is |
static JavaScriptObjectContainer |
merge(JavaScriptObjectContainer target,
com.google.gwt.core.client.JavaScriptObject source,
java.lang.String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument)
into target only if not defined in target.target is not cloned and will be updated with source properties.The property is |
static void |
merge(com.google.gwt.core.client.JavaScriptObject target,
com.google.gwt.core.client.JavaScriptObject source)
Copies
source properties into target only if not defined in target.target is not cloned and will be updated with source properties. |
static void |
merge(com.google.gwt.core.client.JavaScriptObject target,
JavaScriptObjectContainer source)
Copies
source properties into target only if not defined in target.target is not cloned and will be updated with source properties. |
static JavaScriptObjectContainer |
merge(com.google.gwt.core.client.JavaScriptObject target,
JavaScriptObjectContainer source,
java.lang.String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument)
into target only if not defined in target.target is not cloned and will be updated with source properties.The property is |
static JavaScriptObjectContainer |
merge(com.google.gwt.core.client.JavaScriptObject target,
com.google.gwt.core.client.JavaScriptObject source,
java.lang.String property)
Copies
source properties (creating a new java script object and setting the source one with the property argument)
into target only if not defined in target.target is not cloned and will be updated with source properties.The property is |
public static void merge(JavaScriptObjectContainer target, JavaScriptObjectContainer source)
source
properties into target
only if not defined in target.target
is not cloned and will be updated with source
properties.target
- The target object in which source
is merged into.source
- Object to merge into target
.public static void merge(com.google.gwt.core.client.JavaScriptObject target, JavaScriptObjectContainer source)
source
properties into target
only if not defined in target.target
is not cloned and will be updated with source
properties.target
- The target object in which source
is merged into.source
- Object to merge into target
.public static void merge(JavaScriptObjectContainer target, com.google.gwt.core.client.JavaScriptObject source)
source
properties into target
only if not defined in target.target
is not cloned and will be updated with source
properties.target
- The target object in which source
is merged into.source
- Object to merge into target
.public static void merge(com.google.gwt.core.client.JavaScriptObject target, com.google.gwt.core.client.JavaScriptObject source)
source
properties into target
only if not defined in target.target
is not cloned and will be updated with source
properties.target
- The target object in which source
is merged into.source
- Object to merge into target
.public static JavaScriptObjectContainer merge(JavaScriptObjectContainer target, JavaScriptObjectContainer source, java.lang.String property)
source
properties (creating a new java script object and setting the source
one with the property argument)
into target
only if not defined in target.target
is not cloned and will be updated with source
properties.target
- The target object in which source
is merged into.source
- Object to merge into target
.property
- property of root java script object to addpublic static JavaScriptObjectContainer merge(com.google.gwt.core.client.JavaScriptObject target, JavaScriptObjectContainer source, java.lang.String property)
source
properties (creating a new java script object and setting the source
one with the property argument)
into target
only if not defined in target.target
is not cloned and will be updated with source
properties.target
- The target object in which source
is merged into.source
- Object to merge into target
.property
- property of root java script object to addpublic static JavaScriptObjectContainer merge(JavaScriptObjectContainer target, com.google.gwt.core.client.JavaScriptObject source, java.lang.String property)
source
properties (creating a new java script object and setting the source
one with the property argument)
into target
only if not defined in target.target
is not cloned and will be updated with source
properties.target
- The target object in which source
is merged into.source
- Object to merge into target
.property
- property of root java script object to addpublic static JavaScriptObjectContainer merge(com.google.gwt.core.client.JavaScriptObject target, com.google.gwt.core.client.JavaScriptObject source, java.lang.String property)
source
properties (creating a new java script object and setting the source
one with the property argument)
into target
only if not defined in target.target
is not cloned and will be updated with source
properties.target
- The target object in which source
is merged into.source
- Object to merge into target
.property
- property of root java script object to add