Class ConfiguratorXMLReader

java.lang.Object
games.stendhal.server.core.config.zone.SetupXMLReader
games.stendhal.server.core.config.zone.ConfiguratorXMLReader

public class ConfiguratorXMLReader extends SetupXMLReader
A generic entity setup xml reader.
  • Constructor Details

    • ConfiguratorXMLReader

      public ConfiguratorXMLReader()
  • Method Details

    • read

      protected ConfiguratorDescriptor read(Element element, String className)
      Create a configurator descriptor.
      Parameters:
      element - The configurator XML element.
      className - The handler class name.
      Returns:
      A configurator.
    • read

      public SetupDescriptor read(Element element)
      Create a setup descriptor from XML data.
      Specified by:
      read in class SetupXMLReader
      Parameters:
      element - The descriptor XML element.
      Returns:
      A setup descriptor, or null if invalid.