Package com.softsynth.jmsl.score
Class MixerPanelSettingsXMLLoader
java.lang.Object
com.softsynth.jmsl.score.MixerPanelSettingsXMLLoader
- All Implemented Interfaces:
XMLListener
public class MixerPanelSettingsXMLLoader extends java.lang.Object implements XMLListener
Load in pan/amp pairs into a vector. Used by Orchestra to set its mixer
faders. Note this used to create a MixerPanelSetting object, now it just
creates a Vector of PanAmpPair
- Author:
- Nick Didkovsky, copyright 2000 Nick Didkovsky, all rights reserved
-
Constructor Summary
Constructors Constructor Description MixerPanelSettingsXMLLoader()MixerPanelSettingsXMLLoader(XMLReader xmlr, NewXMLObjectListener listener) -
Method Summary
Modifier and Type Method Description voidbeginElement(java.lang.String tag, java.util.Hashtable attributes, boolean ifEmpty)Handles the start of an element.voidendElement(java.lang.String tag)Handles the end of an element.voidfoundContent(java.lang.String content)Handles the content of an element.java.util.VectorloadXML(java.lang.String fileName)Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MixerPanelSettingsXMLLoader
public MixerPanelSettingsXMLLoader() -
MixerPanelSettingsXMLLoader
-
-
Method Details
-
loadXML
public java.util.Vector loadXML(java.lang.String fileName) throws java.io.IOException- Throws:
java.io.IOException
-
beginElement
public void beginElement(java.lang.String tag, java.util.Hashtable attributes, boolean ifEmpty)Description copied from interface:XMLListenerHandles the start of an element. The flag ifEmpty if there is no content or endTag.- Specified by:
beginElementin interfaceXMLListener
-
foundContent
public void foundContent(java.lang.String content)Description copied from interface:XMLListenerHandles the content of an element.- Specified by:
foundContentin interfaceXMLListener
-
endElement
public void endElement(java.lang.String tag)Description copied from interface:XMLListenerHandles the end of an element.- Specified by:
endElementin interfaceXMLListener
-