Package org.codehaus.modello.core
Class DefaultModelloCore
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.modello.core.AbstractModelloCore
org.codehaus.modello.core.DefaultModelloCore
- All Implemented Interfaces:
ModelloCore,org.codehaus.plexus.logging.LogEnabled
-
Field Summary
FieldsFields inherited from interface org.codehaus.modello.core.ModelloCore
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(Model model, String outputType, Properties parameters) private voidhandlePluginsMetadata(ModelReader modelReader, Model model) Handle Plugins Metadata.voidtranslate(Reader reader, String inputType, Properties parameters) private 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
input, outputMethods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
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, Properties parameters) throws ModelloException - Throws:
ModelloException
-
generate
- Throws:
ModelloException
-