Package net.sf.gridarta.plugin
Class PluginModelParser<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.plugin.PluginModelParser<G,A,R>
-
public class PluginModelParser<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.ObjectConverter forPlugininstances to or from XML representation.
-
-
Constructor Summary
Constructors Constructor Description PluginModelParser(@NotNull PluginParameterFactory<G,A,R> pluginParameterFactory)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Plugin<G,A,R>fromXML(@NotNull nu.xom.Element node)Creates aPlugininstance from XML representation.@NotNull nu.xom.ElementtoXML(@NotNull Plugin<G,A,R> plugin)Converts aPlugininstance to XML representation.
-
-
-
Constructor Detail
-
PluginModelParser
public PluginModelParser(@NotNull @NotNull PluginParameterFactory<G,A,R> pluginParameterFactory)Creates a new instance.- Parameters:
pluginParameterFactory- the plugin parameter factory to use
-
-