Interface ObjectMapper.Mutable<V>
- Type Parameters:
V
- value type
- All Superinterfaces:
ObjectMapper<V>
- Enclosing interface:
- 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
Modifier and TypeMethodDescriptionvoid
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 Details
-
load
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
-