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 TypeMethodDescriptionvoid
generate
(Model model, String outputType, Properties parameters) private void
handlePluginsMetadata
(ModelReader modelReader, Model model) Handle Plugins Metadata.void
translate
(Reader reader, String inputType, Properties parameters) private void
upgradeModelloModel
(ModelReader modelReader, Model model) Rename or move entities and provide a deprecation messageprivate void
upgradeModifiedAttribute
(String name, Map<String, String> from, String newName, Map<String, String> to, String warn) private void
private void
Validate the entire model.Methods inherited from class org.codehaus.modello.core.AbstractModelloCore
input, output
Methods 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
-