Gridarta Editor
net.sf.gridarta.model.match.GameObjectMatchersParser Class Reference

Parser for the GameObjectMatchers.xml file. More...

+ Collaboration diagram for net.sf.gridarta.model.match.GameObjectMatchersParser:

Static Public Member Functions

static void readGameObjectMatchers (@NotNull final Document document, @NotNull final GameObjectMatchers gameObjectMatchers, @NotNull final ErrorViewCollector errorViewCollector)
 Parses a .xml file defining game object matchers. More...
 

Private Member Functions

 GameObjectMatchersParser ()
 Private constructor to prevent instantiation. More...
 

Static Private Attributes

static final Category LOG = Logger.getLogger(GameObjectMatchersParser.class)
 The Logger for printing log messages. More...
 

Detailed Description

Parser for the GameObjectMatchers.xml file.

Author
Andreas Kirschbaum

Definition at line 35 of file GameObjectMatchersParser.java.

Constructor & Destructor Documentation

◆ GameObjectMatchersParser()

net.sf.gridarta.model.match.GameObjectMatchersParser.GameObjectMatchersParser ( )
private

Private constructor to prevent instantiation.

Definition at line 46 of file GameObjectMatchersParser.java.

Member Function Documentation

◆ readGameObjectMatchers()

static void net.sf.gridarta.model.match.GameObjectMatchersParser.readGameObjectMatchers ( @NotNull final Document  document,
@NotNull final GameObjectMatchers  gameObjectMatchers,
@NotNull final ErrorViewCollector  errorViewCollector 
)
static

Parses a .xml file defining game object matchers.

Parameters
documentthe document parse
gameObjectMatchersthe game object matchers to update
errorViewCollectorthe error view collector to use

Definition at line 55 of file GameObjectMatchersParser.java.

References net.sf.gridarta.model.errorview.ErrorViewCategory.GAMEOBJECTMATCHERS_ENTRY_INVALID, net.sf.gridarta.model.match.NamedGameObjectMatcher.isSystemMatcher(), and net.sf.gridarta.model.match.GameObjectMatcherParser.parseMatcher().

Referenced by net.sf.gridarta.project.ProjectModel<?, ?, ?>.loadGameObjectMatchers().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ LOG

final Category net.sf.gridarta.model.match.GameObjectMatchersParser.LOG = Logger.getLogger(GameObjectMatchersParser.class)
staticprivate

The Logger for printing log messages.

Definition at line 41 of file GameObjectMatchersParser.java.


The documentation for this class was generated from the following file: