Class ShopsXMLLoader
java.lang.Object
org.xml.sax.helpers.DefaultHandler
games.stendhal.server.core.config.ShopsXMLLoader
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endElement(String namespaceURI, String sName, String qName)
static ShopsXMLLoader
get()
Singleton access method.void
init()
void
void
startElement(String namespaceURI, String lName, String qName, Attributes attrs)
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Method Details
-
get
Singleton access method.- Returns:
- The static instance.
-
init
public void init() -
load
- Throws:
SAXException
-
startElement
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
-