public class PluginModelParser<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
Plugin
instances to or from XML representation.Constructor and Description |
---|
PluginModelParser(@NotNull PluginParameterFactory<G,A,R> pluginParameterFactory)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
@NotNull Plugin<G,A,R> |
fromXML(@NotNull nu.xom.Element node)
Creates a
Plugin instance from XML representation. |
@NotNull nu.xom.Element |
toXML(@NotNull Plugin<G,A,R> plugin)
Converts a
Plugin instance to XML representation. |
public PluginModelParser(@NotNull @NotNull PluginParameterFactory<G,A,R> pluginParameterFactory)
pluginParameterFactory
- the plugin parameter factory to use