public class XMLSpellLoader
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
load(ErrorViewCollector errorViewCollector,
nu.xom.Document document,
Spells<NumberSpell> spells)
Load an XML spell definitions file.
|
public static void load(@NotNull ErrorViewCollector errorViewCollector, @NotNull nu.xom.Document document, @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