fi.hut.tml.xsmiles.gui.media.swing
Class MediaContentHandler

java.lang.Object
  extended byfi.hut.tml.xsmiles.content.BaseContentHandler
      extended byfi.hut.tml.xsmiles.gui.media.general.AWTMediaContentHandler
          extended byfi.hut.tml.xsmiles.gui.media.swing.MediaContentHandler
All Implemented Interfaces:
Media, ResourceReferencer, XSmilesContentHandler

public class MediaContentHandler
extends AWTMediaContentHandler
implements XSmilesContentHandler

Handles application/xml This class should be reusable for optimization purposes

Author:
Mikko Honkala

Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.gui.media.general.AWTMediaContentHandler
media
 
Fields inherited from class fi.hut.tml.xsmiles.content.BaseContentHandler
connection, fBrowser, fClosed, fContainer, fDoc, fInputStream, fLink, fMLFCListener, fPrefetched, fPrimary, fShowControls, fStopped, referencedResources
 
Constructor Summary
MediaContentHandler(Media aMedia)
           
 
Method Summary
 void playPrimary()
           
 
Methods inherited from class fi.hut.tml.xsmiles.gui.media.general.AWTMediaContentHandler
addMediaListener, close, getOriginalDuration, getOriginalHeight, getOriginalWidth, getTitle, isStatic, pause, play, prefetch, setBounds, setBrowserWindow, setContainer, setMediaTime, setSoundVolume, setURL, stop
 
Methods inherited from class fi.hut.tml.xsmiles.content.BaseContentHandler
addResource, closeConnection, get, getContainer, getContentStream, getPrimary, getResourceCount, getResourceReferencer, getResources, getXMLDocument, setConnection, setInputStream, setMLFCListener, setPrimary, setUrl, setZoom, showControls
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fi.hut.tml.xsmiles.content.XSmilesContentHandler
addMediaListener, close, get, getContentStream, getOriginalDuration, getOriginalHeight, getOriginalWidth, getPrimary, getResourceReferencer, getTitle, getXMLDocument, isStatic, pause, play, prefetch, setBounds, setBrowserWindow, setConnection, setContainer, setInputStream, setMediaTime, setMLFCListener, setPrimary, setSoundVolume, setUrl, setURL, setZoom, showControls, stop
 

Constructor Detail

MediaContentHandler

public MediaContentHandler(Media aMedia)
Method Detail

playPrimary

public void playPrimary()
                 throws java.lang.Exception
Overrides:
playPrimary in class AWTMediaContentHandler
Throws:
java.lang.Exception


X-Smiles 1.2