Interface ObjectMapper.Mutable<V>
-
- Type Parameters:
V
- value type
- All Superinterfaces:
ObjectMapper<V>
- Enclosing interface:
- ObjectMapper<V>
public static interface ObjectMapper.Mutable<V> extends ObjectMapper<V>
An object mapper capable of loading data into an existing object.- Since:
- 4.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.configurate.objectmapping.ObjectMapper
ObjectMapper.Factory, ObjectMapper.Mutable<V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
load(V value, ConfigurationNode node)
Load data fromnode
into an existing instance.-
Methods inherited from interface org.spongepowered.configurate.objectmapping.ObjectMapper
canCreateInstances, fields, load, mappedType, save
-
-
-
-
Method Detail
-
load
void load(V value, ConfigurationNode node) throws SerializationException
Load data fromnode
into an existing instance.- Parameters:
value
- existing instancenode
- node to load from- Throws:
SerializationException
- if unable to deserialize data- Since:
- 4.0.0
-
-