com.palserv.XMidi
Class TagContent

java.lang.Object
  extended by com.palserv.XMidi.Tag
      extended by com.palserv.XMidi.TagContent
All Implemented Interfaces:
iTag
Direct Known Subclasses:
TagContentEDATA, TagContentFORMAT, TagContentHEXDATA, TagContentPPNQ

public class TagContent
extends Tag

Base class for all TagContent classes. This class should never be instantiated. The only thing this class adds to the Tag class is the doContent method.


Constructor Summary
TagContent()
           
 
Method Summary
 void doContent(java.lang.String s, State state)
          Handle the content for TagContent sublcasses.
static TagContent getTag(java.lang.String tName)
          Factory method to get a TagContent by name.
 
Methods inherited from class com.palserv.XMidi.Tag
createEndXML, createStartXML, endElement, getName, startElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagContent

public TagContent()
Method Detail

getTag

public static TagContent getTag(java.lang.String tName)
Factory method to get a TagContent by name.


doContent

public void doContent(java.lang.String s,
                      State state)
Handle the content for TagContent sublcasses. This method is invoked from the XM.character method of the XM class, which implements the SAX interface for content.

Parameters:
s - - the tag name.
state - - the State object.