org.codehaus.modello.core.io
Class ModelReader

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

public class ModelReader
extends Object

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

Constructor Summary
ModelReader()
           
 
Method Summary
 Map getAttributesForAssociation(ModelAssociation modelAssociation)
           
 Map getAttributesForClass(ModelClass modelClass)
           
 Map getAttributesForField(ModelField modelField)
           
 Map getAttributesForModel()
           
 Model loadModel(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 Map getAttributesForModel()

getAttributesForClass

public Map getAttributesForClass(ModelClass modelClass)

getAttributesForField

public Map getAttributesForField(ModelField modelField)

getAttributesForAssociation

public Map getAttributesForAssociation(ModelAssociation modelAssociation)

loadModel

public Model loadModel(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,
                       IOException
Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
IOException


Copyright © 2001-2013 Codehaus. All Rights Reserved.