mondrian.test
Class NamedSetTest.MixedNamedSetSchemaProcessor

java.lang.Object
  extended by mondrian.spi.impl.FilterDynamicSchemaProcessor
      extended by mondrian.test.NamedSetTest.MixedNamedSetSchemaProcessor
All Implemented Interfaces:
DynamicSchemaProcessor
Enclosing class:
NamedSetTest

public static class NamedSetTest.MixedNamedSetSchemaProcessor
extends FilterDynamicSchemaProcessor

Dynamic schema processor which adds a named set which has a syntax error.


Constructor Summary
NamedSetTest.MixedNamedSetSchemaProcessor()
           
 
Method Summary
protected  String filter(String schemaUrl, Util.PropertyList connectInfo, InputStream stream)
          Reads the contents of a schema as a stream and returns the result as a string.
 
Methods inherited from class mondrian.spi.impl.FilterDynamicSchemaProcessor
processSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedSetTest.MixedNamedSetSchemaProcessor

public NamedSetTest.MixedNamedSetSchemaProcessor()
Method Detail

filter

protected String filter(String schemaUrl,
                        Util.PropertyList connectInfo,
                        InputStream stream)
                 throws Exception
Description copied from class: FilterDynamicSchemaProcessor
Reads the contents of a schema as a stream and returns the result as a string.

The default implementation returns the contents of the schema unchanged.

Overrides:
filter in class FilterDynamicSchemaProcessor
Parameters:
schemaUrl - the URL of the catalog
connectInfo - Connection properties
stream - Schema contents represented as a stream
Returns:
the modified schema
Throws:
Exception - if an error occurs

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