public class IncludeSchemaTransformer extends Object implements SourceTransformer
| Constructor and Description |
|---|
IncludeSchemaTransformer()
Standard constructor.
|
IncludeSchemaTransformer(File baseDir)
Constructor to override base dir.
|
| Modifier and Type | Method and Description |
|---|---|
Database |
transform(Database database,
ControllerState controllerState)
Loads the included schema content into the current model.
|
SourceElement |
transform(Object modelRoot,
ControllerState controllerState)
Loads the included schema objects into the current source graph.
|
public IncludeSchemaTransformer()
public IncludeSchemaTransformer(File baseDir)
baseDir - the new base dir.public SourceElement transform(Object modelRoot, ControllerState controllerState) throws SourceTransformerException
transform in interface SourceTransformermodelRoot - the database root element of the source tree, not null.controllerState - the controller state, not null.SourceTransformerException - if the transformation fails.public Database transform(Database database, ControllerState controllerState) throws SourceTransformerException
database - the database root element of the source tree, not null.controllerState - the controller state, not null.SourceTransformerException - if the transformation fails.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.