Package org.codehaus.modello.core
Class DefaultModelloCore
- java.lang.Object
-
- org.codehaus.modello.core.AbstractModelloCore
-
- org.codehaus.modello.core.DefaultModelloCore
-
- All Implemented Interfaces:
ModelloCore
@Named 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 void
generate(Model model, java.lang.String outputType, java.util.Map<java.lang.String,java.lang.Object> parameters)
MetadataPluginManager
getMetadataPluginManager()
Model
loadModel(java.io.File file)
Model
loadModel(java.io.Reader reader)
void
saveModel(Model model, java.io.Writer writer)
Model
translate(java.io.Reader reader, java.lang.String inputType, java.util.Map<java.lang.String,java.lang.Object> parameters)
-
Methods inherited from class org.codehaus.modello.core.AbstractModelloCore
getLogger, input, output
-
-
-
-
Method Detail
-
getMetadataPluginManager
public MetadataPluginManager getMetadataPluginManager()
-
loadModel
public Model loadModel(java.io.File file) throws java.io.IOException, ModelloException, ModelValidationException
- Throws:
java.io.IOException
ModelloException
ModelValidationException
-
loadModel
public Model loadModel(java.io.Reader reader) throws ModelloException, ModelValidationException
-
saveModel
public void saveModel(Model model, java.io.Writer writer) throws ModelloException
- Throws:
ModelloException
-
translate
public Model translate(java.io.Reader reader, java.lang.String inputType, java.util.Map<java.lang.String,java.lang.Object> parameters) throws ModelloException
- Throws:
ModelloException
-
generate
public void generate(Model model, java.lang.String outputType, java.util.Map<java.lang.String,java.lang.Object> parameters) throws ModelloException
- Throws:
ModelloException
-
-