public class PluginParameterCodec<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
PluginParameters
from or to XML encoding.Constructor and Description |
---|
PluginParameterCodec() |
Modifier and Type | Method and Description |
---|---|
void |
fromXML(@NotNull PluginParameter<G,A,R,?> parameter,
@NotNull nu.xom.Element e)
Restores a
PluginParameter from XML representation. |
@NotNull nu.xom.Element |
toXML(@NotNull PluginParameter<G,A,R,?> parameter)
Returns the XML representation of a
PluginParameter . |
@NotNull public @NotNull nu.xom.Element toXML(@NotNull @NotNull PluginParameter<G,A,R,?> parameter)
PluginParameter
.parameter
- the plugin parameter to encodepublic void fromXML(@NotNull @NotNull PluginParameter<G,A,R,?> parameter, @NotNull @NotNull nu.xom.Element e)
PluginParameter
from XML representation.parameter
- the plugin parameter to restoree
- the XML representation