Package net.sf.gridarta.model.spells
Class XMLSpellLoader
- java.lang.Object
-
- net.sf.gridarta.model.spells.XMLSpellLoader
-
public class XMLSpellLoader extends java.lang.ObjectLoad spell definitions from an XML file.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidload(@NotNull ErrorViewCollector errorViewCollector, @NotNull nu.xom.Document document, @NotNull Spells<NumberSpell> spells)Load an XML spell definitions file.
-
-
-
Method Detail
-
load
public static void load(@NotNull @NotNull ErrorViewCollector errorViewCollector, @NotNull @NotNull nu.xom.Document document, @NotNull @NotNull Spells<NumberSpell> spells)Load an XML spell definitions file.- Parameters:
errorViewCollector- the error view collector for reporting errorsdocument- the document of the spell definitions filespells- theSpellsinstance to add the spells to
-
-