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 void
beginElement(java.lang.String tag, java.util.Hashtable attributes, boolean ifEmpty)
Handles the start of an element.void
endElement(java.lang.String tag)
Handles the end of an element.void
foundContent(java.lang.String content)
Handles the content of an element.java.util.Vector
loadXML(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:XMLListener
Handles the start of an element. The flag ifEmpty if there is no content or endTag.- Specified by:
beginElement
in interfaceXMLListener
-
foundContent
public void foundContent(java.lang.String content)Description copied from interface:XMLListener
Handles the content of an element.- Specified by:
foundContent
in interfaceXMLListener
-
endElement
public void endElement(java.lang.String tag)Description copied from interface:XMLListener
Handles the end of an element.- Specified by:
endElement
in interfaceXMLListener
-