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 501 2005-10-09 01:26:24Z brett $
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 model)
           
 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(Model model)

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


Copyright © 2001-2007 Codehaus. All Rights Reserved.