Package org.codehaus.modello.core
Class DefaultModelloCore
java.lang.Object
org.codehaus.modello.core.AbstractModelloCore
org.codehaus.modello.core.DefaultModelloCore
- All Implemented Interfaces:
ModelloCore
-
Field Summary
FieldsFields inherited from interface org.codehaus.modello.core.ModelloCore
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidhandlePluginsMetadata(ModelReader modelReader, Model model) Handle Plugins Metadata.voidprivate voidupgradeModelloModel(ModelReader modelReader, Model model) Rename or move entities and provide a deprecation messageprivate voidupgradeModifiedAttribute(String name, Map<String, String> from, String newName, Map<String, String> to, String warn) private voidprivate voidValidate the entire model.Methods inherited from class org.codehaus.modello.core.AbstractModelloCore
getLogger, input, output
-
Field Details
-
metadataPluginManager
-
generatorPluginManager
-
-
Constructor Details
-
DefaultModelloCore
public DefaultModelloCore()
-
-
Method Details
-
getMetadataPluginManager
-
loadModel
-
upgradeModifiedAttribute
-
upgradeModifiedAttribute
-
upgradeModelloModel
Rename or move entities and provide a deprecation message- Parameters:
modelReader-model-
-
loadModel
-
handlePluginsMetadata
Handle Plugins Metadata.- Throws:
ModelloException
-
validate
Validate the entire model.- Throws:
ModelValidationException
-
saveModel
- Throws:
ModelloException
-
translate
public Model translate(Reader reader, String inputType, Map<String, Object> parameters) throws ModelloException- Throws:
ModelloException
-
generate
public void generate(Model model, String outputType, Map<String, Object> parameters) throws ModelloException- Throws:
ModelloException
-