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
@Component(role=ModelloCore.class) 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.Properties 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.Properties parameters)
-
Methods inherited from class org.codehaus.modello.core.AbstractModelloCore
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.Properties parameters) throws ModelloException
- Throws:
ModelloException
-
generate
public void generate(Model model, java.lang.String outputType, java.util.Properties parameters) throws ModelloException
- Throws:
ModelloException
-
-