org.stanwood.media.source.xbmc
Class XBMCExtenstionFactory

java.lang.Object
  extended by org.stanwood.media.source.xbmc.XBMCExtenstionFactory

public class XBMCExtenstionFactory
extends java.lang.Object

A factory class used to create XBMC extensions


Constructor Summary
XBMCExtenstionFactory()
           
 
Method Summary
static XBMCExtension createExtension(XBMCAddon addon, org.w3c.dom.Element extensionNode)
          Create the extension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XBMCExtenstionFactory

public XBMCExtenstionFactory()
Method Detail

createExtension

public static XBMCExtension createExtension(XBMCAddon addon,
                                            org.w3c.dom.Element extensionNode)
Create the extension

Parameters:
addon - The addon the extension belongs to
extensionNode - The extension node
Returns:
The extension or null if unsupported