Class SpellGroupsXMLLoader
java.lang.Object
org.xml.sax.helpers.DefaultHandler
games.stendhal.server.core.config.SpellGroupsXMLLoader
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
XML based loader of spell groups
- Author:
- madmetzger
-
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
-
-
Constructor Details
-
SpellGroupsXMLLoader
Create an XML based loader of spell groups.- Parameters:
uri- The location of the configuration file.
-
-
Method Details
-
load
Load spells.- Returns:
- list of spells
- Throws:
SAXException- If a SAX error occurred.IOException- If an I/O error occurred.
-