com.palserv.XMidi
Class TagMThd

java.lang.Object
  extended by com.palserv.XMidi.Tag
      extended by com.palserv.XMidi.TagCHUNK
          extended by com.palserv.XMidi.TagMThd
All Implemented Interfaces:
iTag

public class TagMThd
extends TagCHUNK

Implement the MThd 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
TagMThd()
           
 
Method Summary
 java.lang.String createStartXML(State state)
          Create the XML start tag.
 java.lang.String getName()
          Get the tag name.
 
Methods inherited from class com.palserv.XMidi.TagCHUNK
endElement, startElement
 
Methods inherited from class com.palserv.XMidi.Tag
createEndXML, getTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagMThd

public TagMThd()
Method Detail

createStartXML

public java.lang.String createStartXML(State state)
Description copied from class: Tag
Create the XML start tag. This is invoked from various places during MX processing.

Specified by:
createStartXML in interface iTag
Overrides:
createStartXML in class TagCHUNK
Parameters:
state - - the State object.
Returns:
the start tag.

getName

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

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