Package com.softsynth.jmsl.util
Class InstrumentXMLLoader
java.lang.Object
com.softsynth.jmsl.util.SimpleXMLLoader
com.softsynth.jmsl.util.InstrumentXMLLoader
- All Implemented Interfaces:
XMLListener
public class InstrumentXMLLoader extends SimpleXMLLoader
Behaves like simpleXMLLoader except that it knows it's got an Instrument, and call
MusicDevice.open() in endElement()
- Author:
- Nick Didkovsky, email: nick@didkovsky.com, (c) 2003 Nick Didkovsky, all rights reserved.
-
Constructor Summary
Constructors Constructor Description InstrumentXMLLoader()
-
Method Summary
Modifier and Type Method Description void
endElement(java.lang.String tag)
Handles the end of an element.Methods inherited from class com.softsynth.jmsl.util.SimpleXMLLoader
beginElement, foundContent, loadXML, loadXML, main, setObjectListener
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
InstrumentXMLLoader
public InstrumentXMLLoader()
-
-
Method Details
-
endElement
public void endElement(java.lang.String tag)Description copied from interface:XMLListener
Handles the end of an element.- Specified by:
endElement
in interfaceXMLListener
- Overrides:
endElement
in classSimpleXMLLoader
-