org.codehaus.modello.core
Class AbstractModelloCore

java.lang.Object
  extended byorg.codehaus.plexus.logging.AbstractLogEnabled
      extended byorg.codehaus.modello.core.AbstractModelloCore
All Implemented Interfaces:
org.codehaus.plexus.logging.LogEnabled, ModelloCore
Direct Known Subclasses:
DefaultModelloCore

public abstract class AbstractModelloCore
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ModelloCore

Version:
$Id: AbstractModelloCore.java 149 2004-09-29 17:32:16Z jvanzyl $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
 
Fields inherited from interface org.codehaus.modello.core.ModelloCore
ROLE
 
Constructor Summary
AbstractModelloCore()
           
 
Method Summary
private  java.io.Reader getReader(java.io.File file)
           
private  java.io.Writer getWriter(java.io.File file)
           
 Model input(java.io.Reader reader)
           
 void output(Model model, java.io.Writer writer)
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.modello.core.ModelloCore
generate, getMetadataPluginManager, loadModel, saveModel, translate
 

Constructor Detail

AbstractModelloCore

public AbstractModelloCore()
Method Detail

input

public Model input(java.io.Reader reader)
            throws ModelloException,
                   ModelValidationException
Throws:
ModelloException
ModelValidationException

output

public void output(Model model,
                   java.io.Writer writer)
            throws ModelloException
Throws:
ModelloException

getReader

private java.io.Reader getReader(java.io.File file)
                          throws ModelloException
Throws:
ModelloException

getWriter

private java.io.Writer getWriter(java.io.File file)
                          throws ModelloException
Throws:
ModelloException