Class ConfiguratorXMLReader
java.lang.Object
games.stendhal.server.core.config.zone.SetupXMLReader
games.stendhal.server.core.config.zone.ConfiguratorXMLReader
A generic entity setup xml reader.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a setup descriptor from XML data.protected ConfiguratorDescriptorCreate a configurator descriptor.Methods inherited from class games.stendhal.server.core.config.zone.SetupXMLReader
readParameters
-
Constructor Details
-
ConfiguratorXMLReader
public ConfiguratorXMLReader()
-
-
Method Details
-
read
Create a configurator descriptor.- Parameters:
element- The configurator XML element.className- The handler class name.- Returns:
- A configurator.
-
read
Create a setup descriptor from XML data.- Specified by:
readin classSetupXMLReader- Parameters:
element- The descriptor XML element.- Returns:
- A setup descriptor, or
nullif invalid.
-