Class SetupXMLReader
java.lang.Object
games.stendhal.server.core.config.zone.SetupXMLReader
- Direct Known Subclasses:
AttributesXMLReader
,ConfiguratorXMLReader
,EntitySetupXMLReader
A base setup xml reader.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract SetupDescriptor
Create a setup descriptor from XML data.protected void
readParameters(SetupDescriptor desc, Element element)
Read paramaters from an XML element.
-
Constructor Details
-
SetupXMLReader
public SetupXMLReader()
-
-
Method Details
-
read
Create a setup descriptor from XML data.- Parameters:
element
- The descriptor XML element.- Returns:
- A setup descriptor, or
null
if invalid.
-
readParameters
Read paramaters from an XML element.- Parameters:
desc
- The descriptor to load.element
- The XML element.
-