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 1413 2010-02-13 21:23:01Z hboutemy $
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> 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)

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


Copyright © 2001-2011 Codehaus. All Rights Reserved.