org.pentaho.reporting.libraries.resourceloader.modules.factory.svg
Class WrapperSVGImageFactoryModule

java.lang.Object
  extended by org.pentaho.reporting.libraries.resourceloader.modules.factory.svg.WrapperSVGImageFactoryModule
All Implemented Interfaces:
FactoryModule

public class WrapperSVGImageFactoryModule
extends java.lang.Object
implements FactoryModule

Todo: Document Me

Author:
Thomas Morgner

Field Summary
 
Fields inherited from interface org.pentaho.reporting.libraries.resourceloader.factory.FactoryModule
FEELING_LUCKY, RECOGNIZED_CONTENTTYPE, RECOGNIZED_FILE, RECOGNIZED_FINGERPRINT, REJECTED
 
Constructor Summary
WrapperSVGImageFactoryModule()
           
 
Method Summary
 int canHandleResource(ResourceManager caller, ResourceData data)
           
 Resource create(ResourceManager caller, ResourceData data, ResourceKey context)
           
 int getHeaderFingerprintSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrapperSVGImageFactoryModule

public WrapperSVGImageFactoryModule()
Method Detail

canHandleResource

public int canHandleResource(ResourceManager caller,
                             ResourceData data)
                      throws ResourceCreationException,
                             ResourceLoadingException
Specified by:
canHandleResource in interface FactoryModule
Throws:
ResourceCreationException
ResourceLoadingException

getHeaderFingerprintSize

public int getHeaderFingerprintSize()
Specified by:
getHeaderFingerprintSize in interface FactoryModule

create

public Resource create(ResourceManager caller,
                       ResourceData data,
                       ResourceKey context)
                throws ResourceCreationException,
                       ResourceLoadingException
Specified by:
create in interface FactoryModule
Throws:
ResourceCreationException
ResourceLoadingException