com.palserv.XMidi
Class TagPROGRAM

java.lang.Object
  extended by com.palserv.XMidi.Tag
      extended by com.palserv.XMidi.TagNOTE_OFF
          extended by com.palserv.XMidi.TagPROGRAM
All Implemented Interfaces:
iTag

public class TagPROGRAM
extends TagNOTE_OFF

Implement the PROGRAM tag. This class must be public in order for the Tag.getTag method to work. This is one of many Tag subclasses which are all similar. Please see the Tag document and the iTag document for more details.


Constructor Summary
TagPROGRAM()
           
 
Method Summary
 java.lang.String getName()
          Get the tag name.
 void startElement(org.xml.sax.Attributes attr, State state)
          Handle the beginning of each element.
 
Methods inherited from class com.palserv.XMidi.TagNOTE_OFF
createStartXML
 
Methods inherited from class com.palserv.XMidi.Tag
createEndXML, endElement, getTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagPROGRAM

public TagPROGRAM()
Method Detail

startElement

public void startElement(org.xml.sax.Attributes attr,
                         State state)
Description copied from class: Tag
Handle the beginning of each element. Invoked by the XM.startElement method of XM, which implements the SAX interface.

Specified by:
startElement in interface iTag
Overrides:
startElement in class TagNOTE_OFF
Parameters:
attr - - a list of attributes (org.xml.sax.Attributes)
state - - the State object.

getName

public java.lang.String getName()
Description copied from class: Tag
Get the tag name.

Overrides:
getName in class TagNOTE_OFF
Returns:
the tag name.