org.codehaus.modello.core.io
Class ModelReader

java.lang.Object
  extended by org.codehaus.modello.core.io.ModelReader

public class ModelReader
extends java.lang.Object

Version:
$Id: ModelReader.java 1075 2008-12-31 11:51:02Z hboutemy $
Author:
Trygve Laugstøl, Emmanuel Venisse

Constructor Summary
ModelReader()
           
 
Method Summary
 java.util.Map getAttributesForAssociation(ModelAssociation modelAssociation)
           
 java.util.Map getAttributesForClass(ModelClass modelClass)
           
 java.util.Map getAttributesForField(ModelField modelField)
           
 java.util.Map getAttributesForModel()
           
 Model loadModel(java.io.Reader reader)
           
 void parseModel(Model model, org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelReader

public ModelReader()
Method Detail

getAttributesForModel

public java.util.Map getAttributesForModel()

getAttributesForClass

public java.util.Map getAttributesForClass(ModelClass modelClass)

getAttributesForField

public java.util.Map getAttributesForField(ModelField modelField)

getAttributesForAssociation

public java.util.Map getAttributesForAssociation(ModelAssociation modelAssociation)

loadModel

public Model loadModel(java.io.Reader reader)
                throws ModelloException
Throws:
ModelloException

parseModel

public void parseModel(Model model,
                       org.codehaus.plexus.util.xml.pull.XmlPullParser parser)
                throws org.codehaus.plexus.util.xml.pull.XmlPullParserException,
                       java.io.IOException
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
java.io.IOException