Gridarta Editor
|
Public Member Functions | |
Plugin< G, A, R > | fromXML (@NotNull final Element node) |
PluginModelParser (@NotNull final PluginParameterFactory< G, A, R > pluginParameterFactory) | |
Element | toXML (@NotNull final Plugin< G, A, R > plugin) |
Private Attributes | |
final PluginParameterFactory< G, A, R > | pluginParameterFactory |
Static Private Attributes | |
static final String | AUTO_BOOT = "autoboot" |
static final String | BASH = "bash" |
static final String | FILTER = "filter" |
static final Category | LOG = Logger.getLogger(PluginModelParser.class) |
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().
|
staticprivate |
Whether the plugin is in auto-boot mode.
Definition at line 50 of file PluginModelParser.java.
Referenced by net.sf.gridarta.plugin.PluginModelParser< G, A, R >.fromXML(), and net.sf.gridarta.plugin.PluginModelParser< G, A, R >.toXML().
|
staticprivate |
Whether the plugin is a stand-alone plugin.
Definition at line 62 of file PluginModelParser.java.
Referenced by net.sf.gridarta.plugin.PluginModelParser< G, A, R >.fromXML(), and net.sf.gridarta.plugin.PluginModelParser< G, A, R >.toXML().
|
staticprivate |
Whether the plugin is a filter.
Definition at line 56 of file PluginModelParser.java.
Referenced by net.sf.gridarta.plugin.PluginModelParser< G, A, R >.fromXML(), and net.sf.gridarta.plugin.PluginModelParser< G, A, R >.toXML().
|
staticprivate |
The Logger for printing log messages.
Definition at line 68 of file PluginModelParser.java.
Referenced by net.sf.gridarta.plugin.PluginModelParser< G, A, R >.fromXML().
|
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().