public class XMLSpellLoader
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
load(@NotNull ErrorViewCollector errorViewCollector,
@NotNull nu.xom.Document document,
@NotNull Spells<NumberSpell> spells)
Load an XML spell definitions file.
|
public static void load(@NotNull @NotNull ErrorViewCollector errorViewCollector, @NotNull @NotNull nu.xom.Document document, @NotNull @NotNull Spells<NumberSpell> spells)
errorViewCollector
- the error view collector for reporting errorsdocument
- the document of the spell definitions filespells
- the Spells
instance to add the spells to