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
-
Method Summary
Modifier and TypeMethodDescriptionCreate a setup descriptor from XML data.protected ConfiguratorDescriptor
Create 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:
read
in classSetupXMLReader
- Parameters:
element
- The descriptor XML element.- Returns:
- A setup descriptor, or
null
if invalid.
-