org.xj3d.ui.swt.net.content
Class SWTContentHandlerFactory
java.lang.Object
org.web3d.net.content.VRMLContentHandlerFactory
org.xj3d.ui.swt.net.content.SWTContentHandlerFactory
- All Implemented Interfaces:
- org.ietf.uri.ContentHandlerFactory
public class SWTContentHandlerFactory
- extends VRMLContentHandlerFactory
A VRMLContentHandlerFactory subclass supporting
SWT UI toolkit dependent content handlers.
- Version:
- $Revision: 1.2 $
- Author:
- Rex Melton
|
Method Summary |
org.ietf.uri.ContentHandler |
createContentHandler(java.lang.String contentType)
Create a content handler for the given mime type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SWTContentHandlerFactory
public SWTContentHandlerFactory(BrowserCore browser,
WorldLoaderManager wlm)
- Create a default content handler factory that does not chain to any
further packages. This is the same as calling
VRMLContentHandlerFactory(factory, clk, null).
- Parameters:
browser - The core representation of the browserwlm - Loader manager for doing async calls
SWTContentHandlerFactory
public SWTContentHandlerFactory(BrowserCore browser,
WorldLoaderManager wlm,
org.ietf.uri.ContentHandlerFactory fac)
- Create a content handler factory that may delegate to another factory
if this one cannot support the content types requested. If the reference
is null, then there is no chained factory.
- Parameters:
browser - The core representation of the browserfac - The factory to delegate to if we failwlm - Loader manager for doing async calls
createContentHandler
public org.ietf.uri.ContentHandler createContentHandler(java.lang.String contentType)
- Create a content handler for the given mime type. If this cannot
create a handler then the request will be handled by it's parent.
- Specified by:
createContentHandler in interface org.ietf.uri.ContentHandlerFactory- Overrides:
createContentHandler in class VRMLContentHandlerFactory
- Parameters:
contentType - The MIME type of the handler needed
- Returns:
- A valid content handler for the type or null
Copyright © 2001 - 2006 Web3D Consortium