Package org.codehaus.modello.core
Interface ModelloCore
-
- All Known Implementing Classes:
AbstractModelloCore
,DefaultModelloCore
public interface ModelloCore
- Author:
- Trygve Laugstøl
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ROLE
-
Method Summary
All Methods Instance Methods Abstract 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)
-
-
-
Method Detail
-
getMetadataPluginManager
MetadataPluginManager getMetadataPluginManager()
-
loadModel
Model loadModel(java.io.File file) throws java.io.IOException, ModelloException, ModelValidationException
- Throws:
java.io.IOException
ModelloException
ModelValidationException
-
loadModel
Model loadModel(java.io.Reader reader) throws ModelloException, ModelValidationException
-
saveModel
void saveModel(Model model, java.io.Writer writer) throws ModelloException
- Throws:
ModelloException
-
translate
Model translate(java.io.Reader reader, java.lang.String inputType, java.util.Map<java.lang.String,java.lang.Object> parameters) throws ModelloException, ModelValidationException
-
generate
void generate(Model model, java.lang.String outputType, java.util.Map<java.lang.String,java.lang.Object> parameters) throws ModelloException
- Throws:
ModelloException
-
-