Class ShopGroupsXMLLoader
java.lang.Object
org.xml.sax.helpers.DefaultHandler
games.stendhal.server.core.config.ShopGroupsXMLLoader
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
-
Nested Class Summary
Nested Classes -
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
-
ShopGroupsXMLLoader
-
ShopGroupsXMLLoader
-
-
Method Details
-
load
public void load()Loads shops from XML and configures NPC merchants. -
load
Loads shops from XML and configures specific NPC merchants (used for testing).- Parameters:
npcNames- List of NPC names.
-