fi.hut.tml.xsmiles.gui.media.general
Class JMFContentHandlerFactory

java.lang.Object
  extended byfi.hut.tml.xsmiles.content.ContentHandlerFactory
      extended byfi.hut.tml.xsmiles.gui.media.general.JMFContentHandlerFactory
Direct Known Subclasses:
SwingContentHandlerFactory

public class JMFContentHandlerFactory
extends ContentHandlerFactory

ContentHandlerFactory creates content handlers based on the content-type and possibly the URI This class adds JMF dependand media handlers JMF

Version:
$Revision: 5891 $, $Date: 2005-01-26 14:28:55 +0200 (Wed, 26 Jan 2005) $
Author:
Mikko Honkala

Field Summary
static java.lang.String AWTTEXTMEDIA
           
static java.lang.String JMF_BASIC_MEDIA
           
static java.lang.String JMF_XINE_MEDIA
           
static java.lang.String JMFMEDIA
           
 
Fields inherited from class fi.hut.tml.xsmiles.content.ContentHandlerFactory
browserWindow, endingHandlers, HTMLHANDLER, typeHandlers, XMLHANDLER
 
Constructor Summary
JMFContentHandlerFactory(BrowserWindow bw)
           
 
Method Summary
protected  XSmilesContentHandler createContentHandler(java.lang.Class a_class, java.lang.String contentType, XLink url)
          copied from SwingContentHandlerFactory
protected  void createMappings()
           
protected  XSmilesContentHandler createMediaContentHandler(Media instance)
           
protected  void createTextMappings()
           
 
Methods inherited from class fi.hut.tml.xsmiles.content.ContentHandlerFactory
createContentHandler, createContentHandler, createEndingMapping, createMIMEMapping, getBareContentType, getSuffix, getWildBareContentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JMF_BASIC_MEDIA

public static final java.lang.String JMF_BASIC_MEDIA
See Also:
Constant Field Values

JMF_XINE_MEDIA

public static final java.lang.String JMF_XINE_MEDIA
See Also:
Constant Field Values

JMFMEDIA

public static java.lang.String JMFMEDIA

AWTTEXTMEDIA

public static final java.lang.String AWTTEXTMEDIA
See Also:
Constant Field Values
Constructor Detail

JMFContentHandlerFactory

public JMFContentHandlerFactory(BrowserWindow bw)
Method Detail

createMappings

protected void createMappings()
Overrides:
createMappings in class ContentHandlerFactory

createTextMappings

protected void createTextMappings()
Overrides:
createTextMappings in class ContentHandlerFactory

createContentHandler

protected XSmilesContentHandler createContentHandler(java.lang.Class a_class,
                                                     java.lang.String contentType,
                                                     XLink url)
                                              throws java.lang.InstantiationException,
                                                     java.lang.IllegalAccessException
copied from SwingContentHandlerFactory

Overrides:
createContentHandler in class ContentHandlerFactory
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException

createMediaContentHandler

protected XSmilesContentHandler createMediaContentHandler(Media instance)


X-Smiles 1.2