mondrian.test
Class DynamicSchemaProcessorTest.ProviderTestDSP

java.lang.Object
  extended by mondrian.test.DynamicSchemaProcessorTest.BaseDsp
      extended by mondrian.test.DynamicSchemaProcessorTest.ProviderTestDSP
All Implemented Interfaces:
DynamicSchemaProcessor
Enclosing class:
DynamicSchemaProcessorTest

public static class DynamicSchemaProcessorTest.ProviderTestDSP
extends DynamicSchemaProcessorTest.BaseDsp

DSP that checks that replaces the Schema Name with the name of the Provider property

Author:
ngoodman

Field Summary
 
Fields inherited from class mondrian.test.DynamicSchemaProcessorTest.BaseDsp
replaceToken
 
Constructor Summary
DynamicSchemaProcessorTest.ProviderTestDSP()
           
 
Method Summary
 String processSchema(String schemaUrl, Util.PropertyList connectInfo)
          Modifies a Mondrian schema.
 
Methods inherited from class mondrian.test.DynamicSchemaProcessorTest.BaseDsp
getSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicSchemaProcessorTest.ProviderTestDSP

public DynamicSchemaProcessorTest.ProviderTestDSP()
Method Detail

processSchema

public String processSchema(String schemaUrl,
                            Util.PropertyList connectInfo)
                     throws Exception
Description copied from interface: DynamicSchemaProcessor
Modifies a Mondrian schema.

An implementation should generally interpret the URL string as an Apache VFS (virtual file system) URL.

Specified by:
processSchema in interface DynamicSchemaProcessor
Overrides:
processSchema in class DynamicSchemaProcessorTest.BaseDsp
Parameters:
schemaUrl - the URL of the catalog
connectInfo - Connection properties
Returns:
the modified schema
Throws:
Exception - if an error occurs

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads