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 1436 2010-04-14 23:04:58Z bentmann $
Author:
Trygve Laugstøl, Emmanuel Venisse

Constructor Summary
ModelReader()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getAttributesForAssociation(ModelAssociation modelAssociation)
           
 java.util.Map<java.lang.String,java.lang.String> getAttributesForClass(ModelClass modelClass)
           
 java.util.Map<java.lang.String,java.lang.String> getAttributesForField(ModelField modelField)
           
 java.util.Map<java.lang.String,java.lang.String> getAttributesForInterface(ModelInterface modelInterface)
           
 java.util.Map<java.lang.String,java.lang.String> 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<java.lang.String,java.lang.String> getAttributesForModel()

getAttributesForClass

public java.util.Map<java.lang.String,java.lang.String> getAttributesForClass(ModelClass modelClass)

getAttributesForInterface

public java.util.Map<java.lang.String,java.lang.String> getAttributesForInterface(ModelInterface modelInterface)

getAttributesForField

public java.util.Map<java.lang.String,java.lang.String> getAttributesForField(ModelField modelField)

getAttributesForAssociation

public java.util.Map<java.lang.String,java.lang.String> 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