Class ZoneGroupsXMLLoader
java.lang.Object
org.xml.sax.helpers.DefaultHandler
games.stendhal.server.core.config.ZoneGroupsXMLLoader
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
Load and configure zones via an XML configuration file.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
uri
The main zone configuration file.
-
-
Constructor Details
-
ZoneGroupsXMLLoader
Create an xml based loader of zone groups.- Parameters:
uri- The location of the configuration file.
-
-
Method Details
-
load
Load zones into a world.- Throws:
SAXException- If a SAX error occurred.IOException- If an I/O error occurred.
-