public class DomTreeResourceFactory extends Object implements org.pentaho.reporting.libraries.resourceloader.ResourceFactory
Constructor and Description |
---|
DomTreeResourceFactory() |
Modifier and Type | Method and Description |
---|---|
org.pentaho.reporting.libraries.resourceloader.Resource |
create(org.pentaho.reporting.libraries.resourceloader.ResourceManager manager,
org.pentaho.reporting.libraries.resourceloader.ResourceData data,
org.pentaho.reporting.libraries.resourceloader.ResourceKey context)
Creates a resource by interpreting the data given in the resource-data object.
|
Class |
getFactoryType()
Returns the expected result type.
|
void |
initializeDefaults()
Initializes the resource factory.
|
public org.pentaho.reporting.libraries.resourceloader.Resource create(org.pentaho.reporting.libraries.resourceloader.ResourceManager manager, org.pentaho.reporting.libraries.resourceloader.ResourceData data, org.pentaho.reporting.libraries.resourceloader.ResourceKey context) throws org.pentaho.reporting.libraries.resourceloader.ResourceCreationException, org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
create
in interface org.pentaho.reporting.libraries.resourceloader.ResourceFactory
manager
- the resource manager used for all resource loading.data
- the resource-data from where the binary data is read.context
- the resource context used to resolve relative resource paths.org.pentaho.reporting.libraries.resourceloader.ResourceCreationException
- if the resource could not be
parsed due to syntaxctial or
logical errors in the data.org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
- if the resource could not be
accessed from the physical
storage.public void initializeDefaults()
initializeDefaults
in interface org.pentaho.reporting.libraries.resourceloader.ResourceFactory
public Class getFactoryType()
getFactoryType
in interface org.pentaho.reporting.libraries.resourceloader.ResourceFactory