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
public class DefaultModelloCore extends AbstractModelloCore
- Author:
- Trygve Laugstøl, Emmanuel Venisse
-
-
Field Summary
-
Fields inherited from interface org.codehaus.modello.core.ModelloCore
ROLE
-
-
Constructor Summary
Constructors Constructor Description DefaultModelloCore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenerate(Model model, String outputType, Properties parameters)MetadataPluginManagergetMetadataPluginManager()ModelloadModel(File file)ModelloadModel(Reader reader)voidsaveModel(Model model, Writer writer)Modeltranslate(Reader reader, String inputType, Properties parameters)-
Methods inherited from class org.codehaus.modello.core.AbstractModelloCore
input, output
-
-
-
-
Method Detail
-
getMetadataPluginManager
public MetadataPluginManager getMetadataPluginManager()
-
loadModel
public Model loadModel(File file) throws IOException, ModelloException, ModelValidationException
-
loadModel
public Model loadModel(Reader reader) throws ModelloException, ModelValidationException
-
saveModel
public void saveModel(Model model, Writer writer) throws ModelloException
- Throws:
ModelloException
-
translate
public Model translate(Reader reader, String inputType, Properties parameters) throws ModelloException
- Throws:
ModelloException
-
generate
public void generate(Model model, String outputType, Properties parameters) throws ModelloException
- Throws:
ModelloException
-
-