public class MondrianSchemaGenerator extends AbstractGenerator implements SchemaGenerator
| Constructor and Description |
|---|
MondrianSchemaGenerator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerate(Schema schema,
Output output)
returns true if the output implementation is fully compatible
with this artifact generator
|
String |
generate(Schema schema,
Output output)
this method gets called by the output service only if output is
supported and canGenerate returns true
|
String |
generateFull(Schema schema,
List<? extends Output> outputs)
this is a common method shared by most generators
|
Class[] |
getSupportedOutputClasses()
returns a list of supported output classes that this
generator can render
|
public static final String NL
public Class[] getSupportedOutputClasses()
ArtifactGeneratorgetSupportedOutputClasses in interface ArtifactGeneratorpublic boolean canGenerate(Schema schema, Output output)
ArtifactGeneratorcanGenerate in interface ArtifactGeneratorschema - schema objectoutput - output objectpublic String generate(Schema schema, Output output)
ArtifactGeneratorgenerate in interface ArtifactGeneratorschema - schema objectoutput - output objectpublic String generateFull(Schema schema, List<? extends Output> outputs)
AbstractGeneratorgenerateFull in interface ArtifactGeneratorgenerateFull in class AbstractGeneratorschema - schema objectoutputs - list of outputsCopyright © 2006–2016 Julian Hyde. All rights reserved.