|
Gridarta Editor
|
Converter for Plugin instances to or from XML representation. More...
Inheritance diagram for net.sf.gridarta.plugin.PluginModelParser< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
Collaboration diagram for net.sf.gridarta.plugin.PluginModelParser< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:Public Member Functions | |
| Plugin< G, A, R > | fromXML (@NotNull final Element node) |
| Creates a Plugin instance from XML representation. More... | |
| PluginModelParser (@NotNull final PluginParameterFactory< G, A, R > pluginParameterFactory) | |
| Creates a new instance. More... | |
| Element | toXML (@NotNull final Plugin< G, A, R > plugin) |
| Converts a Plugin instance to XML representation. More... | |
Private Attributes | |
| final PluginParameterFactory< G, A, R > | pluginParameterFactory |
| The PluginParameterFactory to use. More... | |
Static Private Attributes | |
| static final String | AUTO_BOOT = "autoboot" |
| Whether the plugin is in auto-boot mode. More... | |
| static final String | BASH = "bash" |
| Whether the plugin is a stand-alone plugin. More... | |
| static final String | FILTER = "filter" |
| Whether the plugin is a filter. More... | |
| static final Category | LOG = Logger.getLogger(PluginModelParser.class) |
| The Logger for printing log messages. More... | |
Converter for Plugin instances to or from XML representation.
Definition at line 44 of file PluginModelParser.java.
| net.sf.gridarta.plugin.PluginModelParser< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.PluginModelParser | ( | @NotNull final PluginParameterFactory< G, A, R > | pluginParameterFactory | ) |
Creates a new instance.
| pluginParameterFactory | the plugin parameter factory to use |
Definition at line 80 of file PluginModelParser.java.
| Plugin<G, A, R> net.sf.gridarta.plugin.PluginModelParser< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.fromXML | ( | @NotNull final Element | node | ) |
Creates a Plugin instance from XML representation.
| node | the XML representation |
Definition at line 90 of file PluginModelParser.java.
| Element net.sf.gridarta.plugin.PluginModelParser< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.toXML | ( | @NotNull final Plugin< G, A, R > | plugin | ) |
Converts a Plugin instance to XML representation.
| plugin | the plugin instance |
Definition at line 135 of file PluginModelParser.java.
Referenced by net.sf.gridarta.plugin.PluginModel< G, A, R >.savePlugin().
Here is the caller graph for this function:
|
staticprivate |
Whether the plugin is in auto-boot mode.
Definition at line 50 of file PluginModelParser.java.
|
staticprivate |
Whether the plugin is a stand-alone plugin.
Definition at line 62 of file PluginModelParser.java.
|
staticprivate |
Whether the plugin is a filter.
Definition at line 56 of file PluginModelParser.java.
|
staticprivate |
The Logger for printing log messages.
Definition at line 68 of file PluginModelParser.java.
|
private |
The PluginParameterFactory to use.
Definition at line 74 of file PluginModelParser.java.
Referenced by net.sf.gridarta.plugin.PluginModelParser< G, A, R >.fromXML(), and net.sf.gridarta.plugin.PluginModelParser< G, A, R >.PluginModelParser().