com.softsynth.jmsl.util
Class InstrumentXMLLoader

java.lang.Object
  extended by com.softsynth.jmsl.util.SimpleXMLLoader
      extended by 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: didkovn@mail.rockefeller.edu, (c) 2003 Nick Didkovsky, all rights reserved.

Constructor Summary
InstrumentXMLLoader()
           
 
Method Summary
 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 Detail

InstrumentXMLLoader

public InstrumentXMLLoader()
Method Detail

endElement

public void endElement(java.lang.String tag)
Description copied from interface: XMLListener
Handles the end of an element.

Specified by:
endElement in interface XMLListener
Overrides:
endElement in class SimpleXMLLoader