|
Gridarta Editor
|
Load spell definitions from an XML file. More...
Collaboration diagram for net.sf.gridarta.model.spells.XMLSpellLoader:Static Public Member Functions | |
| static void | load (@NotNull final ErrorViewCollector errorViewCollector, @NotNull final Document document, @NotNull final Spells< NumberSpell > spells) |
| Load an XML spell definitions file. More... | |
Private Member Functions | |
| XMLSpellLoader () | |
| Private constructor to prevent instantiation. More... | |
Static Private Attributes | |
| static final Category | LOG = Logger.getLogger(XMLSpellLoader.class) |
| The Logger for printing log messages. More... | |
Load spell definitions from an XML file.
Definition at line 35 of file XMLSpellLoader.java.
|
private |
Private constructor to prevent instantiation.
Definition at line 46 of file XMLSpellLoader.java.
|
static |
Load an XML spell definitions file.
| errorViewCollector | the error view collector for reporting errors |
| document | the document of the spell definitions file |
| spells | the Spells |
Definition at line 55 of file XMLSpellLoader.java.
References net.sf.gridarta.model.errorview.ErrorViewCategory.SPELLS_ENTRY_INVALID, and net.sf.gridarta.model.errorview.ErrorViewCategory.SPELLS_FILE_INVALID.
Referenced by net.sf.gridarta.project.ProjectModel<?, ?, ?>.loadSpellFile().
Here is the caller graph for this function:
|
staticprivate |
The Logger for printing log messages.
Definition at line 41 of file XMLSpellLoader.java.