Package mondrian.test
Class DynamicSchemaProcessorTest.BaseDsp
- java.lang.Object
-
- mondrian.test.DynamicSchemaProcessorTest.BaseDsp
-
- All Implemented Interfaces:
DynamicSchemaProcessor
- Direct Known Subclasses:
DynamicSchemaProcessorTest.CheckJdbcPropertyDsp
,DynamicSchemaProcessorTest.FoodMartCatalogDsp
,DynamicSchemaProcessorTest.ProviderTestDSP
- Enclosing class:
- DynamicSchemaProcessorTest
public static class DynamicSchemaProcessorTest.BaseDsp extends Object implements DynamicSchemaProcessor
Our base, token replacing schema processor.- Author:
- ngoodman
-
-
Field Summary
Fields Modifier and Type Field Description protected String
replaceToken
-
Constructor Summary
Constructors Constructor Description BaseDsp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSchema()
String
processSchema(String schemaUrl, Util.PropertyList connectInfo)
Modifies a Mondrian schema.
-
-
-
Field Detail
-
replaceToken
protected String replaceToken
-
-
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 interfaceDynamicSchemaProcessor
- Parameters:
schemaUrl
- The URL of the catalog.connectInfo
- Connection properties.- Returns:
- Returns the modified schema.
- Throws:
Exception
- if an error occurs.
-
-